I would just have an action property like originUrl in the login action and redirect them to that url after a successful login, return a redirectTo result with the parameter being the originUrl




Samuel Mota wrote:
Hi,

I'm using an Interceptor that returns LOGIN if the user have not logged in ...

I'm mapping all actions LOGIN view to my login page (duh!) and using redirect.

Is there some way to the view page (I'm using JSP) know where the user came from and 
then show the
appropriate message? Or even after login redirect (now in the action) to the previous 
page?

thanks

+ Samuel G. Mota
+ [EMAIL PROTECTED]
+ 55 (11) 4417 7093
+ Business Application Dpt.
+ Netset Serviços em Tecnologia
+ a Hypercom Company
+ http://www.hypercom.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork








------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to