If you want to control where a user goes more strictly you can also pop up a window 
that has no buttons, the user will only be able to click the links that you supply. 
But I agress with Philipp, javascript is the answer.

-----Original Message-----
From: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Sent: 30 December 2003 10:22
To: Tomcat Users List
Subject: Re: Browser control thru servlet


Hi!

Teja Jo wrote:
> Hello everyone,
> Can anyone tell me how the back and forward button of browser be controlled
> - as disabled for example or specifying the url it should go to - thru
> the requests made to servlet?
> Thanks and regards,

It is (thankfully) not possible to control a user's browser from the 
server side. All you can do in this case is include javascript code in 
the page returned in response to the request. With javascript you can 
do most of what you describe above.

HTH

                Phil


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

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

Reply via email to