File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript/css info sent to servlet?

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic