The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000

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:

How to find of browser used ?

Posted by Salil V Gangal on September 02, 2000 at 10:47 PM

Friends,

I come from Perl/CGI background and will like to know some of the equivalents iof Perl/CGI in Java Servlets. Specifically, I want to find out what's the browser that the user is using to visit/invoke the servlet. In CGI the browser can be found out by using the environment variable called 'HTTP_USER_AGENT' via call $ENV{'HTTP_USER_AGENT'}. What's it's equivalent in Java Servlet ?

Regards,
Salil V Gangal



Replies:

Sponsored Links



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