File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Tomcat Client Authentication, Need client username
Joined: Aug 25, 2004
Oct 22, 2004 08:35:00
i am hoping some one can help me.
I have a
page running on a
5.0.12 Server. I need to dettect the users logged on name, possibly the windows logged on username.
If i do
user= System.getProperty("user.name"); %>, I always get my name as I am logged on the server.
We did it so easily with Cold Fusion and would hate to rely on that for it to work.
Thanks in advance.
Joined: Feb 20, 2001
Oct 23, 2004 10:44:00
Look into javax.servlet.http.HttpServletRequest.getUserPrincipal()
rocket mass heater
subject: Tomcat Client Authentication, Need client username
How to call client with the help of servlets
Not able to use two ports in RMI chat application
How to get username of currently logged user on client machine
Need to get the user id of the machine raising the request.
Help with Chat Program, update user list
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014