This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 8904

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
 
Similar Threads
Struts Action not Forwarding to jsp........
Struts problem
Errata : ActionForward
How to access forms in action classes
execute() and exception handling