My first post here and was wondering if anyone could help me solve my little problem.
I have a JSP Page (lets call it register.jsp) and I have another JSP Page (InternationalPhoneNumber.jsp).
Register.jsp has a call to international using <tiles:insert page="InternationalPhoneNumber.do">
When you click the submit button I would like that both of these pages be validated. I have already set up both the struts-config.xml and the validation.xml files for both jsp's. The thing I can't figure out is how to tell register.jsp to validate itself and after that, validate internationalPhoneNumber.jsp.
I hope that all made sense.
Thanks in advanced, Draco
BTW I'm using Struts 1.1 [ January 04, 2007: Message edited by: Draco2k7 ]
Draco: I assume you will change your name to meet the site policy....As far as I know, what you are proposing is not possible with Struts. To your browser the page will look like one big form and on the backend only one action will be executed and one action form populated.
Joined: Jan 04, 2007
Ah, sorry about that guys, I didnt bother to read the name policy, but I've changed it now.
Yeah... I thought that would be the outcome, but better to ask then do nothing.
Thanks and sorry again.
subject: Validating two different forms in the same JSP