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 difference between perform and execute in action class 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 "difference between perform and execute in action class" Watch "difference between perform and execute in action class" New topic
Author

difference between perform and execute in action class

kavitha rama
Ranch Hand

Joined: Jun 18, 2003
Posts: 38
What is the difference between
public ActionForward perform(AtionMapping mapping,--- )
and public ActionForward execute(AtionMapping mapping,--- ) in Action class? which one should be used when.
I am little confused. Can someone please clarify.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8920

Kavitha
see this
http://www.onjava.com/pub/a/onjava/2002/11/13/jsp_servlets.html?page=2


Groovy
kavitha rama
Ranch Hand

Joined: Jun 18, 2003
Posts: 38
Thanks for the link and also I was going through the struts tutorial, I found that perform is deprecated, from 1.1 onwards execute is used.
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between perform and execute in action class