On Mon, 16 Aug 2004 [EMAIL PROTECTED] wrote:

> I'm trying to implement a scenario in which if the user who has not
> logged in clicks on a link to a page "for logged in users only"  should
> be redirected to "login page", and then if the login operation succeeds
> another redirection takes the user, to the page that was originally
> requested.
> 
> Are there any "commonly known" techniques to do this smoothly with
> Struts??

What about Container Managed Authentication? 
It's part of J2EEs standard (so it's not Struts specific)
and it allows you to configure server to protect your pages
as you've described above.

See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html
for Tomcat5 configuration.

Pavel


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

Reply via email to