Hi,

Apologies if this is a duplicate, I posted a few days ago but it doesn't seem to have made it to the list.

I'd like to introduce a layer between the action servlet and the action classes to perform generic processing - authorisation, error handling etc.

I have 2 solutions:

1) subclass the RequestProcessor with generic code in an overridden processActionPerform method.
2) provide an Action base class, generic code goes in a final implementation of the execute method which delegates to an abstract doExecute method. Each subclass implements the doExecute method.


or is there some other way of achieving this?

Thanks
Nathan




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to