I found this thread buried in my inbox from a while back and am curious ...

someone mentioned that the follow would work to retrieve the user agent
info:

request.getHeader("user-agent")

So I tested in and it does in fact work.  BUT, isn't the environmental
variable actually called "HTTP_USER_AGENT"?  I tried retrieving the info by
that name using the same method but had no success.  I then looked for other
methods in both the request and other classes that would allow me to
retrieve the variable by this name but found nothing.

This all brings me to a question:  How would one know what to call these env
vars if not by their names? I've found no documentation to this effect. And,
is there a way to retrieve this information using the actuall env var names?

Thanks!
Neal

===========================================================================
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

Reply via email to