The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Get the value of "User-Agent" header to determine Browser Type

Posted by Kishori Sharan on January 16, 2002 at 3:37 PM

Yes, you can know the browser used. How to get the browser type depends on your language you are using on server side. If you are using JSP then y9ou can get the browser using


request.getHeader ( "User-Agent" ). When you use HTML converter then it takes care of browser type when it generates the OBJECT and EMBED tags for applet taga.

Thanks
Kishori



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us