Rob wrote:

I have a set of statements I would like executed every time
an action is executed. I would also like to only have to
code these set of statements once and have them transparently
executed for all actions (except for a small subset).

When we were using a Servlet 2.2 container we derived a class from Action named SecureAction, which checked that the user was logged in.

Then all the applications Actions would be SecureAction Children.

If struts had events then the event could be hooked instead, this is easy enough to do.


Under Servlet 2.3 filters could be used.


-Rob



Is there a facility in struts for doing this?  Is there an
example somewhere perhaps in the example application?
(I couldn't see one)

Thanks


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






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



Reply via email to