> 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.
You might be using the wrong stack in your xml. Check out this one: paramsPrepareParamsStack Jim C.
signature.asc
Description: OpenPGP digital signature