Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.

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