And you can also do client-side tests using Javascript.

There is some interesting testing script in the Javascript clock that was
recently posted to this list, and a number of examples on MSDN.

regards

Mark Lines-Davies

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of John Vanderbrook
Sent: 08 February 2002 23:23
To: [EMAIL PROTECTED]
Subject: Re: broswer versions


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



*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
*************************************************************************

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