[EMAIL PROTECTED] wrote:
> As long as you are arriving at the "settings" page via an action, can't you 
> just call the getInputForward() -- the method that the validate stuff calls 
> to return to the starting page if there were errors; this seems like it would 
> easily work.  
>
> If you aren't arriving at the "settings" page via an action, you can go ahead 
> and route this through a ForwardAction -- this is suggested in several books. 
>  Probably for reasons such as this.
>   
The OP wanted to know how to return to a previous page programatically.

I've only done this for security access (you do not have access to that
page so send them to login or denial page). In the past I've simply
added logic to my security filter to save the page in session and
redirect back to it after they've logged in. These days I guess you
could put that in a request processor or something.

Dave



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

Reply via email to