struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meeboo <deeps...@gmail.com>
Subject Re: resume after login feature
Date Thu, 05 Apr 2007 15:25:04 GMT

Gotcha Dave... now all I need is clean URL:s before I can actually consider
using this damned framework :)



Dave Newton-4 wrote:
> 
> --- 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/resume-after-login-feature-tf3506442.html#a9857985
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message