This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Include the prepare interceptor in your interceptor stack or use the defaultStack which has a specific place for the prepare interceptor. Implement your action with the Preparable interface by defining a prepare() method. When the prepare interceptor executes, it looks for the prepare() method in your action which will allow for any sort of preprocessing to occur. .
in that URL explained that the Preparable Interface used to ensure some logic runs before the actual execute method runs.
i have Class DeleteAction..
in that class iam not implement Preparable..
the class shown like this..
is it the code good for implementation?..
or i have to use Preparable and declare category as private property with getter and setter?..