| Author |
Internet Explorer browser version
|
Ayyappan Selvaraj
Ranch Hand
Joined: Sep 20, 2004
Posts: 63
|
|
I need a code to get the Browser version of Internet Explorer. (ie) something like request.getVersion()....
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
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.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
pankaj patil
Ranch Hand
Joined: Dec 19, 2004
Posts: 98
|
|
Hi if you using the jsp then response.getHeader() can be used to know which Browser version With Regards Pankaj
|
Regards,
Pankaj Patil
|
 |
Ayyappan Selvaraj
Ranch Hand
Joined: Sep 20, 2004
Posts: 63
|
|
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
Joined: Jan 10, 2002
Posts: 56185
|
|
|
It'd be best to open a new topic in the HTML/Javascript forum to address your Mozilla compatibility issues.
|
 |
 |
|
|
subject: Internet Explorer browser version
|
|
|