THANKS: getting j_username from form 2003-12-10 - By Ostad, James
Back I want to wish you and the rest of the crew on this list a very merry Christmas. I don't think I would have finished my project without your helps.
thank,
James
-- --Original Message-- -- From: Andoni [mailto:andoni@(protected)] Sent: Wednesday, December 10, 2003 10:25 AM To: Tomcat Users List Subject: Re: getting j_username from form
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)
<---In (14)
Out---> (3)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|