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


Win a copy of Soft Skills this week in the Jobs Discussion 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.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: separate validation for each method in action class