File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internet Explorer browser version

 
Ayyappan Selvaraj
Ranch Hand
Posts: 63
  • 0
  • 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: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic