This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm using JSP with WLS, and am trying to capture the HTTP_USER_AGENT header variable to prepopulate a form text box. I can find no reference in any of the JSP books I have available. Is there any way to the user's network logon? Rick Sharpless DirecTV firstname.lastname@example.org
The http user-agent which is part of the request header, is used to determine the type of browser that the client is using. Not sure if that's what you are trying to do.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Nov 22, 2008
OOOPS! It's not the user_agent I'm after. My mistake. I know IIS captures a couple of other variables, and maybe WLS doesn't provide this info. What I'm after is the AUTH_USER or REMOTE_USER variable. Sorry for the confusion. Rick Sharpless
"rsharpless" your name doesn't agree with the javaranch guidelines. please take a moment and re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp thanks for your cooperation. - satya