One last question regarding this. As I beforehand don't know where to
redirect the user after the login action I will have to implement the
ServletResponseAware interface and then use the HttpServletResponse for
this. This seems like an ugly way to redirect the user, are there other ways
maybe?


Dave Newton-4 wrote:
> 
> --- meeboo <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to