File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes capturing the user ID Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "capturing the user ID" Watch "capturing the user ID" New topic

capturing the user ID


Joined: Jul 09, 2005
Posts: 18
I want to capture the login NT(windows) username and i want to save the username in database.

can you please give me some suggestions.

Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
using servlets?

Joined: Jul 09, 2005
Posts: 18
Jsp as front end
servlets is for Bussiness logic
Paul Clapham

Joined: Oct 14, 2005
Posts: 18118

Since you asked this under "Servlets" I will answer the "Servlets" question you asked and leave the "JDBC" question alone.

Joined: Jul 09, 2005
Posts: 18
Iam new to this concept i want to know how to capture the property file from the local system and how to set in servlet code
I agree. Here's the link:
subject: capturing the user ID
Similar Threads
To Retrieve Username
how can I get the user name of the user authenticated by Tomcat in my servlet?
how to get the username from session?
Hidden Fields in JSP
Application Password in WEblogic 10.3.3