Re: Way to detect which browser
Hi Sven! On Sun, 25 Jun 2000, Sven van 't Veer wrote: > "Aggarwal, Pawan" 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.. > > you can parse User-Agent request header and make a guess. A `browsecap' file should be helpful. -- teodor === 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
Re: Way to detect which browser
"Aggarwal, Pawan" 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.. > Javascript === 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
Re: Way to detect which browser
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
Way to detect which browser
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\ === 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