- In struts 1.1b1 (for backwards compatibility):
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { // Call the deprecated method for backwards compatibility return (perform(mapping, form, request, response)); } so you must implement execute() in your Actions. However apps developed for Struts 1.0.* will run in Struts 1.1b1 for the previous. - In struts 1.0.* does not exist execute();. You must implement perform(). >From: Manish_Purang <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: RE: Where is Execute method..? >Date: Tue, 16 Jul 2002 15:19:48 +0530 > >thnx for the quick reply..! > >that means we don't have perform in the 1.1b and performs makes its first >appearance from 1.1 b right...? > >-----Original Message----- >From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 16, 2002 3:12 PM >To: [EMAIL PROTECTED] >Subject: Re: Where is Execute method..? > > > >execute() appears from version 1.1b1. It replaces de perform(), despite >Struts1.1b1 maintains performs() for backwards compatibility. > >Adolfo > > >From: Manish_Purang <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Where is Execute method..? > >Date: Tue, 16 Jul 2002 15:09:01 +0530 > > > >Hi all..! > >I think i'm missing somthing...!! > >This is from the chapter 3 of the Struts book at the serverside.com. It > >mentions about this execute method. However in API ( Struts 1.0) i dont > >have this within the Action class ...!!! > > > >The Struts Action class contains several methods, but the most important >is > >the execute() method. Here is the method signature: > > public ActionForward execute(ActionMapping mapping, > > ActionForm form, > > HttpServletRequest request, > > HttpServletResponse response) > > throws IOException, ServletException; > >The execute() method is called on an instance of an Action class by the > >controller when a request is received from a client > > > >Where is the execute method..? > >rgds > > > > > >************************************************************************** > >This email (including any attachments) is intended for the sole use of >the > >intended recipient/s and may contain material that is CONFIDENTIAL AND > >PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying >or > >distribution or forwarding of any or all of the contents in this message >is > >STRICTLY PROHIBITED. If you are not the intended recipient, please >contact > >the sender by email and delete all copies; your cooperation in this >regard > >is appreciated. > >************************************************************************** > > > >-- > >To unsubscribe, e-mail: > ><mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > ><mailto:[EMAIL PROTECTED]> > > > > ><HTML> > <HEAD> > <TITLE>Adolfo's signature</TITLE> > </HEAD> > <BODY> > <center><b><em>Adolfo Rodriguez Miguelez</em><b></center> > > </BODY> > </HTML> > > > > > >_________________________________________________________________ >Join the world's largest e-mail service with MSN Hotmail. >http://www.hotmail.com > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> >************************************************************************** >This email (including any attachments) is intended for the sole use of the >intended recipient/s and may contain material that is CONFIDENTIAL AND >PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or >distribution or forwarding of any or all of the contents in this message is >STRICTLY PROHIBITED. If you are not the intended recipient, please contact >the sender by email and delete all copies; your cooperation in this regard >is appreciated. >************************************************************************** > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > <HTML> <HEAD> <TITLE>Adolfo's signature</TITLE> </HEAD> <BODY> <center><b><em>Adolfo Rodriguez Miguelez</em><b></center> </BODY> </HTML> _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>