I am developing one intranet application. i want to get the windows login username to log into my application.
because i want to check whether the same user is logging into the application or not.
i worked on using req.getRemoteUser() but it is returning null.
i am using the server is Tomcat6.x, Struts1.2
plz help me.