You can call mapping.getInput() in your Action class. This will get you the
URI that provided your input, and is what Struts uses to send you back to
your input form if the ActionForm validation fails.

--
Martin Cooper
Tumbleweed Communications


----- Original Message -----
From: "Kishore Subramanian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 2:40 PM
Subject: Forwarding to the same page


> Hi,
>
> Is there a way for an Action class to find out which page/action called it
?
> Iam faced with a problem where the Action class should perform its work
and forward the page back to callee page.
>
> Note - I cannot add any "forward" tags to this Action mapping because this
Action is part of a framework.
>
> Any clues ?
>
> Thanks,
> Kishore
>


Reply via email to