Looks like you can use the 'USER_AGENT' variable in the request header to
parse out either IE or Netscape. If you use:
http://host.domain/servlet/SnoopServlet you can get a dump of all of the
environment variables and then make use of the information provided (you
should test it out on the browsers you are relying upon, though). This
would alleviate the problems of users turning Javascript off, but could
cause problems if the client browser doesn't set the USER_AGENT variable
correctly.
Erik Sahl
[EMAIL PROTECTED]
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Jean
> Bresse
> Sent: Monday, January 17, 2000 2:43 PM
> To: [EMAIL PROTECTED]
> Subject: Determining which browser brand the user is using
>
>
> I don't think that you can determine through servlets what browser the
> use is using (Netscape, IE, etc), but I'm 100% sure on this. Can
> someone confirm this, or correct me here! I know that I could use the
> navigator object in JavaScript but I'm thinking of cases where
> JavaScript is disabled...
>
> Thanks!
>
> Jean
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html