One way would be to create an abstract layer underneath the action layer
that defines an abstract method similar to the perform() method.  Then you
could 'wrap' processing around the call the the abstract method which your
concrete subclasses implement.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001 9:41 AM
Subject: Want to check user is logged in every page server


> Hi
>
> Everytime a page is served from my Struts application, I want to check
> to make sure the user is logged in.  If they are not then I want to send
> them to the login screen.  What is the best way to go about this using
> Struts?
>
> Cheers
>
> Tony
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

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

Reply via email to