If you have access to a operational web site, then you can go through
the web server logs and look for all of the uniques values. My
experience, unfortunately, is that there is not a standard format and
you have to look for general patterns.

David

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of Padhu Vinirs
Sent: Tuesday, November 19, 2002 9:22 AM
To: [EMAIL PROTECTED]
Subject: user-agent header value...


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

===========================================================================
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