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 separate validation for each method in action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "separate validation for each method in action class" Watch "separate validation for each method in action class" New topic
Author

separate validation for each method in action class

James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
Hi all,

I want to apply validation for 2 methods in action class like below. But not able to do the same as every time first validation method is getting call. Please let me know how I can achieve the same.

 
Consider Paul's rocket mass heater.
 
subject: separate validation for each method in action class
 
Similar Threads
Handling error messages (Struts2 jquery )
After validate ajax form not redirect to success or error result
struts2: what kicks in first- the interceptors or the form's validation?
Struts2 annotation validation
Struts 2 execute method after validation error