Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: getting j_username from form

Andoni

2003-12-10

Replies:

try

String loginfo = (String)req.getRemoteUser();

Andoni.


----- Original Message -----
From: "Ostad, James" <JOstad@(protected)>
To: "Tom (E-mail)" <tomcat-user@(protected)>
Sent: Wednesday, December 10, 2003 3:01 PM
Subject: getting j_username from form


I am trying to get the j_username from the form after authentication.
But I am getting null each time. here is what I am using to get it:

String loginfo = session.getAttribute("j_username");

and the value of the loginfo is null.

any help would be nice.

James Ostad
Application Developer/Analyst
TMS Department
Ex. 4457
E-mail: jostad@(protected)


Out---> (3)



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.