see the j2ee documentation on the request object...
There is the method getRemoteUser() 

> -----Original Message-----
> From: Shah, Sanjay [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 6:28 PM
> To: 'Tomcat Users List'
> Subject: username as a variable?
> 
> 
> 
> 
> Is there a way to catch the username from tomcat-user.xml file as a
> variable?  I want to use the username that a user logs in as into my
> servlet.
> 
> Thanks
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to