Toby Hede wrote:

> I am trying to implement a fairly familiar pattern, when the user goes 
> to access a resource, but has not logged in, they are redirected to the 
> login page, the user logs in, and then is sent back to the resource they 
> originally tried to access.
> 
> So I need to take the referrer of the login page (which traditionally I 
> just place in a hidden variable in the Login form) and then when login 
> is complete I need to set the view to the redirect string, rather than 
> the view assigned in actions.xml. Is there an easy way to do this within 
> the Action API?


I do exactly this by using the standard Redirect action, in combination 
with a servlet filter that does the login check and shows the login 
form. Works very well.

/Rickard


-- 
Rickard �berg
Chief Architect, TheServerSide.com
The Middleware Company



_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to