On Fri, 27 Jun 2003, Simon Kelly wrote:
> Date: Fri, 27 Jun 2003 09:00:50 +0200 > From: Simon Kelly <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Deprecation of perform() > > Hi all, > > In Struts-1.1-rc2, I'm getting an warning during compilation that the > perform() method has been depreciated. I was under the impression that > execute() had been depreciated in fafour of perform(). If you peruse the JavaDocs, you'll find that you have it backwards -- perform() was deprecated in favor of execute(). The reason for this was to allow execute() to throw any Exception so that it can trigger the declarative exception handling feature in 1.1. Therefore, the Javadocs for perform() have the following comment: @deprecated Use the <code>execute()</code> method instead > > Could someone comment please. > > Thanks > > Simon Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

