There is a html header which will let you
know the browser. I think it is "User-Agent".
so you code would be
if(request.getHeader("User-Agent").equals("mozilla..
another alternative would be to use
methods in javascript, called "browser-sniffers".
just search in google and you will get links to
many sites.
regards
Nagaraj.
--- "Aggarwal, Pawan" <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> Is there any program which can detect what browser
> and what version is one
> using...
> so that to work out different javascript for them..
>
> Thanks\
>
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets