You probably have the @Override annotation on prepareSave(), and you don't need it.
On Sat, Jun 27, 2009 at 11:40 AM, Praveen.V.Kumar < praveenkuma...@spanservices.com> wrote: > Hi, > > While referring the below link I came to know that we can have > prepare{MethodName}() that will run before the invocation of the particular > method. > > http://struts.apache.org/2.1.6/docs/prepare-interceptor.html > > I was trying the same. In my action class, I have a save() method and the > action class is implemented with Preparable Interface. But when I add > prepareSave() I get a error > "The method prepareSave() of type ManageGeneralSetupAction must override or > implement a supertype method". > > Do I need to override any other method or do I need to implement any other > Interface? > > Please advice me on this. > > Thanks > Praveen > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com