lucas owen wrote:
An easy one: how can I figure out the struts 2 previous action, the one I
come from?

You could be asking for either of two different things: The action related to the current request? The action related to the URL being displayed in the browser's address bar when the current request was initiated?

There are a number of ways to get the former. Most browsers actually indicate to the server the value of the latter in an HTTP header field called Referer (yes, it's misspelled in the standard). Of course even when that's presented it's a URL not an action, so you'll need to do a bit of work to figure out the action to which that maps.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to