You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Jens v.P." <de...@jevopi.de> on 2003/06/17 18:18:33 UTC

Session and action/forward redirect=true

Hi,

I'm new to Struts and maybe I've got something completly wrong... but I 
didn't find what..

So, that's my problem:

I've got to actions defined, one logon-action forwarding to my homepage (-
action) on success. Since I also want to change the URL, I want to use a 
forward with redirect="true" attribute.

In my LogonAction.execute method the user-object is stored in the 
session and the success-mapping is returned:

class LogonAction {

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