On Wed, 22 Jan 2003, Andrew Hill wrote:

> Date: Wed, 22 Jan 2003 20:13:06 +0800
> From: Andrew Hill <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: perform method deprecated??
>
> Your upgrading from 1.02?
>
> In 1.1 you use the execute() method.

You actually *can* continue to use perform(), but should plan on a
transition to execute() at some point.

The reason for the method change is that execute() includes "throws
Exception" in its method signature, which was required to enable the new
declarative exception processing feature.  In 1.1, the default execute()
method just calls perform, though, so your existing Actions will still
work.

Craig



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

Reply via email to