This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Internet Explorer browser version  RSS feed

 
Ayyappan Selvaraj
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a code to get the Browser version of Internet Explorer.
(ie) something like request.getVersion()....
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is something better done with Javascript. If you insist on doing it on the server, you'll need to inspect the setting of the User-Agent header. Note that this is not fool-proof. It si extremely easy to spoof this header.
 
pankaj patil
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

if you using the jsp

then response.getHeader() can be used to know which Browser version

With Regards
Pankaj
 
Ayyappan Selvaraj
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u Bear
I got the code just now and its working.
I required it bcos my Javascript( building multiline and combo box in it) doesnt work properly in mozilla.
Can you get me some suggestion for making it work in Mozilla also?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It'd be best to open a new topic in the HTML/Javascript forum to address your Mozilla compatibility issues.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!