• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internet Explorer browser version

 
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
Pie
Posts: 64958
86
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
Pie
Posts: 64958
86
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic