I wanted to display action errors on top of the grid after doing some server side validations on the values of struts 2 jQuery grid. Any help would be appreciated.
here is my action error.
addActionError("You can not delete this data");
But unfortunately ,I am unable to show error in my jsp page. Please share your knowledge regarding this issue.
Try this
Basic concept: you have to make one jsp.
Say error.jsp and on error return, just load the error.jsp.
In error.jsp write addActionError("You can not delete this data");
.
And include this error.jsp into your main grid page where you wish to show error message