struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Garg <varun_g...@yahoo.com>
Subject Re: forward question
Date Mon, 22 Sep 2003 23:40:29 GMT
There are many ways to store the requested page and
then redirect to the login action and once it is done
pass it back to thr requested resource, if it is a
matter of just the url with the query parameters you
can use the HTTP-REFERER from the header to see if a
different page was requested. 

Or another way to do is before doing the forward to
the login action, put the requested resource info
(url, form post etc) inside the session or hidden
fields in the login page and get them back and forward
accordingly.

Varun
--- Lázaro_Miguel_Fung <lfung@desliang.com> wrote:
> Hi.
> 
> How I can invoke a login action from any pages thats
> require user be logged,
> and after valid logon, return to the page that the
> user was.
> 
> TIA
> LFung
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


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


Mime
View raw message