I don't believe that there is a reliable way for Struts to determine
dynamically where a submit actually started, since things can get passed
around. There is history information in the request, but that can be
iffy.

If you want that behaviour, you should be able to script that through
the ActionMappings file by having an entry for each possible input page
with its own input property. The action locations are virtual, and you
can have as many as you need.

Jonathan wrote:
> 
> Ted, I have been questioning the value of the input property.  The input
> property in Joyce's case is literally the submitting page, which I hardcoded
> into the struts-config.xml.  If I came from another page, however, I will
> STILL be forwarded to the uri of the input property.  I believe this is not
> the behavior we want.  I believe what we want is to simply return where we
> submitted, right?  There was a thread about this before I think.  Can you
> shed some light on this?

Reply via email to