Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javascript/css info sent to servlet?  RSS feed

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • 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,
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!