Hi,
 
The reason perform is deprecated is, it can throw only exceptions of type 
ServletException and IOException. 
Whereas for the support of declarative exception handling in Struts 1.1, the execute() 
throws Exception.
 
This is the main reason.
 
Regards,
Janarthan S

Niall Pemberton <[EMAIL PROTECTED]> wrote:
I don't remember the reason for the method name change, but the difference
is
what you say - perform is deprecated.

The big performance benefit you get from using execute() is that you don't
have to go changing
your Action classes when upgrading to struts 1.2 because the perform()
methods
have been removed.

Niall


----- Original Message ----- 
From: "srinivasan krishnamurthy" 
To: 
Sent: Friday, February 13, 2004 10:50 PM
Subject: perform vs execute


> What is the difference between the perform and execute
> method in struts.I know perform is deprecated in 1.1
> but do we get any lift by using execute?
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online

Reply via email to