Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Browser control thru servlet

Philipp Taprogge

2003-12-30

Replies:

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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.