Hi All I am using struts validation.xml in my project.Heres a problem that I am facing and the problem is in this scenario ...
The problem is that there are two jsps one is CreatePersonalDetails which has required field Name and when I click submit then it maps to the second jspCreateAddressDetails which has the required filed phone .
And the problem is that when I click submit button in the first jsp then the validation (required) is being displayed in the first itself and hence i could not go to the second jsp .
now what to do how to resolve this issue .... thanks in advance
Could you elaborate a little more on what the requirement exactly is. You are saying the field 'name' is mandatory on the first page, so the user has to enter it to proceed to page 2. Is it that even after entering a name you still get an error?
[Edit] Do you want to show the error on the second page?
Some more information please. Sheldon [ September 10, 2004: Message edited by: Sheldon Fernandes ]