wood burning stoves 2.0*
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


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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mapping different requests to different validate methods