Hi,
I need help in using the
struts validator framework.
In my project, I want to use struts validator framework for validation of various fields. The problem is that I have to use a single formbean across 3 JSPs.
What's happening is, when I try to add validator framework in the first
JSP, the validator framework is trying to validate the fields present in the next JSP as well (as all the fields on the first and second JSP are in the same formbean) and hence starts throwing error for the fields which are on the second JSP (which will obviously be empty as I have not moved to the second page to fill up the data).
Can anyone tell me how to overcome this issue?
Thanks,
Supreet Malaviya.