You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mike Millson <mm...@meritonlinesystems.com> on 2004/02/26 23:20:38 UTC

Best Place To Check Session Timeout

In the O'Reilly book, Programming Jakarta Struts, it mentions 2 places
to check for session timeout:
(1) In a base Action class that all of your other Action classes extend
(pg. 45)
(2) Extend processPreprocess and over-ride the processPreprocess method.

It seems to me that processPreprocess is better than using a base Action
because it is further upstream, so needless processing can be avoided.
Or is there a situation where doing it in a base Action class is better
than in processPreprocess?

Thank you,
Mike





---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org