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 Sader
[EMAIL PROTECTED]
http://www.saderfamily.org/roller/page/ksader
http://www.jroller.com/page/certifieddanger

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

Reply via email to