you can very easily parse the "user-agent" header:
request.getHeader("user-agent")
will return a string which contains things like Mozilla, MSIE, Netscape etc...
experiment with the different browsers to find out to exact format of the string.
John
-----Original Message-----
From: Eric Cho <[EMAIL PROTECTED]>
Date: Fri, 8 Feb 2002 15:58:24 -0700
To: [EMAIL PROTECTED]
Subject: broswer versions
> hi all,
>
> can somebody give me some code to determine what version of browser the
> client is using wheter it be IE or Netscape?!?!
>
> Thanks,
> Eric
>
>
>
>
>
>**************************************************************************************************
> The contents of this email and any attachments are confidential.
> It is intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager or the
> sender immediately and do not disclose the contents to any one or make copies.
>
> ** eSafe scanned this email for viruses, vandals and malicious content **
>
>**************************************************************************************************
>
> ===========================================================================
> 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
>
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Win a ski trip!
http://www.nowcode.com/register.asp?affiliate=1net2phone3a
===========================================================================
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