Java solutions are only going to work in flavour of a signed applet or web start application which you embed in your JSP. Both are able to run entirely at the client side. You can't do anything from in the server side.
Bob Smith wrote:I haven't capture the username, that's what I'm trying to figure out how to do. This is an Intranet page, everyone uses windows here.
In ASP I could do this with one setting on ISS and one line of code. I thought it may be easy in JSP/Tomcat. No one has ever done this?
It undoubtely makes use of ActiveX and/or Active Directory. Both are, again, platform specific. Java/JSP was never intented to be platform specific. Maybe you're using the wrong tool here.
Another option, since there is no easy way to do this with JSP I guess I could have the user enter their Username and then do a check against AD w/ JNDI. That should work. I could have the user enter their username and on submit of the form, look them up in AD w/ JNDI, verify their username is correct, the submit the data.
Thanks for everyones response. JSP/Java is new to me. I'm used to the ASP/VB world.