tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale, Matt" <Matt.D...@beCogent.com>
Subject RE: Browser control thru servlet
Date Tue, 30 Dec 2003 12:16:17 GMT

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:Philipp.Taprogge@gmx.net]
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message