Complicated. The answer is 'no', except when the answer is 'yes'... If a user is logged on to their person computer and visits the JSP, you cannot get the name that they logged in as. However, you can (in some servers like WebSphere) get the JSP to authenticate against the windows login - but all this functionality is driven from the server side. If the JSP is secured, (BASIC or FORM based authentication), the first time they ask for the page they will be challenged for a username and password. These details can be validated against the server. After that the userid is available via request.getRemoteUser() Dave
Post by:autobot
straws are for suckers. tiny ads are for attractive people.
a bit of art, as a gift, the permaculture playing cards