File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Execute method Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Execute method Struts" Watch "Execute method Struts" New topic

Execute method Struts

vedavyas durbhakula

Joined: Jul 20, 2007
Posts: 3
HI I have a doubt that , can we write our own method in Action class insted of execute() method ???

IF yes in what kind of situations we will write and for what purpose do we write . give me a live scenario ???
Jibitesh Prasad

Joined: Feb 20, 2007
Posts: 20
Are you asking about naming execute() into something else and still executing???
Ram Chhabra

Joined: Jun 23, 2007
Posts: 23

Yes you can surely do that but for that you have to use different Action like:

1. DispatchAction
2. LookupDispatchAction

Hope this help you out.
I agree. Here's the link:
subject: Execute method Struts
It's not a secret anymore!