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 mapping different requests to different validate methods 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 "mapping different requests to different validate methods" Watch "mapping different requests to different validate methods" New topic
Author

mapping different requests to different validate methods

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello:

I know how to map different requests to different methods within a single Action (instead of one execute() handling all requests). But what about the validate() method? Is there a way to map different requests to different validate() methods? Thanks.

Eric
John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello again:

I think I found the answer in validation contexts (p274-277 Struts 2 in Action). Somebody in Strutsville was thinking about me!

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mapping different requests to different validate methods