i have a page which calls an Action Form based on the action. Within the page, i have logic to view detail or not.
I am trying to saveErrors and output them back to the page, but I keep getting an infinite loop.
Error:
path="" :action: Processing a POST for /department path="" :action: Looking for ActionForm bean under attribute 'departmentForm' path="" :action: Recycling existing ActionForm bean instance of class 'com.netvendor.nvat.struts.forms.DepartmentForm' path="" :action: Populating bean properties from this request path="" :action: Validating input form properties path="" :action: Validation error(s), redirecting to: /department.do
my main page is department.jsp
The action to view is viewItem on which I need to show the errors..
Input on the struts-config page is department.do.
The initial page is department.jsp with action of viewList.
This is already within the Action class.
if (!errors.empty()) {
saveErrors(request, errors);
saveToken(request);
return (new ActionForward(mapping.getInput()));
}
I need to write out errors if the user has not filled in all the items.

