This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 with out execute method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 with out execute method" Watch "Struts 2 with out execute method" New topic

Struts 2 with out execute method

Phoenix nebula

Joined: Nov 23, 2010
Posts: 1
Can i have a custom method something like doprocess() instead of execute()? but do equivalent functionality of execute method?
Ankit Garg

Joined: Aug 03, 2008
Posts: 9327

Yes you can. In the action configuration you can set the method and the class both...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
I agree. Here's the link:
subject: Struts 2 with out execute method