File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Checking whether scripting is enabled on browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Checking whether scripting is enabled on browser" Watch "Checking whether scripting is enabled on browser" New topic
Author

Checking whether scripting is enabled on browser

Vaibhav Patkar
Greenhorn

Joined: Jan 28, 2008
Posts: 1
Hii.....
I would like to know how to check whether javascript is enabled or not on client
browser through JSP.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

You can't detect this using any Servlet or JSP API. All you can do is to cause something to happen on the client if JavaScript is enabled, and to detect its effect on the next submission. For example, you could change the value of a hidden input using JavaScript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checking whether scripting is enabled on browser