File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes javascript/css info sent to servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "javascript/css info sent to servlet?" Watch "javascript/css info sent to servlet?" New topic
Author

javascript/css info sent to servlet?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Is there any information sent along with a request, or as a header, that
specifies whether or not javascript and css are enabled? Thus, a
servlet could use this information to redirect the user to some "please
enable these features" page. For our current application, we just use
the <noscript> html tag to handle browsers that don't support javascript
or have it disabled, sending the user to a "please enable javascript"
page. This is fine for javascript, but if a broswer has css disabled,
the page still loads normally (and ugly, since the css isn't used).
Also, is there some sort of <noscript> feature for css?
thanks in advance,
tom
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript/css info sent to servlet?
 
Similar Threads
javascript/css info in header?
PDF download ..
Clientside script
Redirect when Javascript is disabled
Checking browser version & JavaScript enabled