struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Garg <>
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

--- Lázaro_Miguel_Fung <> 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.
> LFung
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message