File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Validations Spanning Multiple Pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validations Spanning Multiple Pages" Watch "Validations Spanning Multiple Pages" New topic
Author

Validations Spanning Multiple Pages

Gaurav Kushwaha
Greenhorn

Joined: May 20, 2009
Posts: 19
Hi,

Actually I have 2 JSPs, JSP1 and JSP2. For JSP1, we have 2 input text fields, Name and SSN [we have validation for SSN]
For JSP2, we have 2 input text fields, CompanyName and Technology [we have validation for CompanyName and technology].

I have tried running the JSP1 and got validation for SSN as expected. On submitting I am forwarding to JSP2, on submitting I got validation for 3 fields, SSN, CompanyName and technology.
Rather I should get for CompanyName and technology only.

In JSP1 I am giving the hidden page value as 1 and in JSP2 as 2.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validations Spanning Multiple Pages
 
Similar Threads
losing data when user enters form value with double quotes
JSP Form data lost while back to same Action (struts 2)
passing the values from popup window to jsp
Struts2 wizard with scoped model driven
passing JS values in struts-2