tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Henrique Alves Lima <email_danie...@yahoo.com.br>
Subject Re: Http Session Null issue
Date Fri, 03 Jul 2009 15:35:33 GMT
Hi, Achal.


On Fri, 2009-07-03 at 19:48 +0530, Achal Patel wrote:
> Its basically below:
> 
> HttpSession session = request.getSession();
> Settings settings = (Settings) session.getAttribute(ATTR_NAME);
> 
> I debugged it and got to know that session is getting null and again
> invoking the same resource from UI serves fine.
> The same is working fine on Weblogic.

Am i missing something or you're saying that when session is null
"(Settings) session.getAttribute(ATTR_NAME)" works ?
Are you sure ? 

Or you're saying that, at Weblogic, request.getSession() is returning a
non-null value AND "(Settings) session.getAttribute(ATTR_NAME)" is
working ?

> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message