Couldn't you set an attribute and change the attribute value when you perform an Action or Submit a screen?
From: "David G. Friedman" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Determine the previous action Date: Fri, 17 Dec 2004 16:42:50 -0500
Gnan,
The two basic options are:
1) Hope all browsers visiting your site send the http "REFERER" field. Not all do.
2) Make navigation use forms and submit a hidden parameter holding the URL of the page that kicked out the JSP/HTML/form.
Regards, David
-----Original Message----- From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 11:38 AM To: '[EMAIL PROTECTED]' Subject: Determine the previous action
Hello,
How can I determine the previous action I executed in Struts. I would like
to know which Action/Screen I came from and appropriately do something in my
application. Is there anyway I could do that?
TIA Gnan
========================================================================
This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to [EMAIL PROTECTED]
Toys "R" Us, Inc.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]