I am trying to find out the following information ( from a jsp page ):

Browser Major Version
Browser Minor Version

I am not sure if there is a standard format for the user-agent header
across all browsers and all OS. I have searched the web, but couldnt
find any code or info regarding this. I have seen Javascript code that
uses the "navigator" javascipt object which is not available in a jsp
engine. I can parse this info for the browsers I have installed, but for
older versions and for different OS, I dont have access currently. Can
anybody help me out:

Browser                              OS
----------------                 -----------------
IE 6.0                                 Mac, UNIX
IE 5.0 and below                 Windows, Mac, UNIX
Opera                                   Windows, Mac, UNIX
Netscape 6 and below           Windows, Mac, UNIX



Any help is appreciated.


Thanks


-- pady

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com

Reply via email to