--- Yann C�bron <[EMAIL PROTECTED]> wrote: > I just had a look at the current code and perform() is still present in > the > interface for backwards-compatibility - that's why you must provide a > (dummy > empty) method implementing it in your class.
perform() will be removed from the interface after 1.2. David > > The best solution is probably extending ControllerSupport and overriding > its > execute()-method instead of using the Controller interface directly. > > From the JavaDoc: > > *** > Basic implementation of Controller. Implementations can extend this > class to > insulate themselves from changes in the Controller interface > *** > > HTH, > > Yann > > > I did try the struts.jar from the lastest nightly build 20030919.zip > > Is this 1.2? It looks like the implements Controller abstract > interface > > for execute is not being recognized? > > > > Barry > > > > > > ----- Original Message ----- > > From: "Yann C�bron" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, September 19, 2003 12:02 PM > > Subject: Re: Tiles implements Controller does not work with execute() > > > > > > > > Hi, > > > > > > > > docs say not to use the depracated perform(). Use execute() > instead. > > > > I require execute() because perform() does not handle SQL > exception. > > > > > > > > I get a compile error class LoadUserCategoriesController must use > > abstract > > > > interface perform(). > > > > > > > > > > Did you verify you're using a nightly build of Struts (1.2-dev)? > > > > > > Controller#execute() was just added a few days ago, see > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19022 > > > > > > HTH, > > > Yann > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

