Posted on 2004-09-15
I have a struts-JSP (say main.jsp) with a FORM which includes another JSP (page1.jsp) with a FORM.
I validate the page1.jsp FORM through struts-validation.xml
The problem is if i get any validation errors, i am getting only the page1.jsp with errors. I want to show the main.jsp even if there are any validation errors in page1.jsp.
As expected, if there are no errors, main.jsp is displyed.
i know how to do validation in my Form-Action but i want to use struts-validator. Can i do something with ValidatorActionForm in my Action class. If so, could you please tell me how?