On Fri, 17 Mar 2000, Kenneth Himschoot wrote:

> Hi,
>
> I've been following the posts for about two weeks now but haven't found an
> answer to
> my problem: I'm used to working with php (now in v.4) which has easy access
> to webserver-
> variables like $AUTH_USER (the username when authenticated). Is there any
> reference
> where I can find how jsp handles these variables?

I would browse the API documentation for
javax.servlet.http.HttpServletRequest.  It defines many useful methods for
getting at these attributes.  In particular, request.getRemoteUser() will
return the AUTH_USER setting.

Wes

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