[Opensource] prePerform(), postPerform() Template Methods

Michael Rimov rimovm at centercomp.com
Wed Oct 29 08:16:12 PST 2003


At 10:21 PM 10/28/2003, you wrote:
>good idea, Eddie.       I'll put this in if Mike agrees.

Oh absolutely!



>Similarly, I perceive a need for a Template Method pattern to enable pre- 
>and postprocessing on the main controller path,
>         nextState.perform(stateForm, myRequest, myResponse);

Uhh, I may be missing something, but I believe we already have that ability 
through the Struts Action inheritance.  I think pre and post execution was 
included there.  Somebody correct me if I'm wrong.

Peter Pilgrim, can you comment on this?
                                                 -Mike





More information about the Opensource mailing list