You can also include a line like this in each jsp:
window.history.forward(1);

This will effectively negate the back button.

BAL

From: "Mark Galbreath" <[EMAIL PROTECTED]>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>, "Jing Zhou" <[EMAIL PROTECTED]>
Subject: RE: Is there a way to disable the browser's Back button without sending an http request?
Date: Wed, 3 Sep 2003 07:15:31 -0400


Set a token in request scope and use Struts logic tags to test is presence
and value, then forward or not.  Simple.

Mark

-----Original Message-----
From: Jing Zhou [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 11:53 PM
To: Struts Users Mailing List
Subject: Is there a way to disable the browser's Back button without
sending an http request?


It looks to me the answer is NO, although we could use Java script location.replace('url'). But the statement sends out an http request.

I would like to know if there is a different answer to it.

Jing
Netspread Carrier
http://www.netspread.com




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


_________________________________________________________________ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup


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



Reply via email to