struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: resume after login feature
Date Thu, 05 Apr 2007 15:06:46 GMT
--- meeboo <deepstar@gmail.com> wrote:
> Yeah Dave, the problem is passing the data. I have
> my Login.java action class which implements 
> ServletRequestAware but it'll of course only
retrieve
> localhost:8080/login.action since that's the request
> URI. I need to somehow tell it which location the 
> user tried to login from so that it can redirect
> back to that specific page. 

Passing information to an Action is trivial; implement
a known or new interface and set the data inside the
interceptor. 

You don't care about the *action's* view of
request-land, you care about the *interceptor's*
request; that's where the original (request) is, no?

d.



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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


Mime
View raw message