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. Hope this helps. --- On Tue 02/14, Keith Sader < [EMAIL PROTECTED] > wrote: From: Keith Sader [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Tue, 14 Feb 2006 08:04:15 -0600 Subject: Re: Another struts design question That could work, and it would scale to n input pages.Thanks Mark!On 2/14/06, Mark Lowe <[EMAIL PROTECTED]> wrote:> You could use the referer header to create an action forward based on> that value.>> String referer = request.getHeader("Referer");> URL url = new URL(referer);> String path = url.getPath();> String contextPath = request.getContextPath();> path = path.replaceFirst(contextPath,"");>> return new ActionForward(path,true);>> You may have to append any parameters to the path, but i'm sure you> can work that out..>--Keith [EMAIL PROTECTED]://www.saderfamily.org/roller/page/ksaderhttp://www.jroller.com/page/certifieddanger---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]