tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luba Powell" <luba...@bellatlantic.net>
Subject Re: session object
Date Thu, 14 Jun 2001 15:04:17 GMT
Sounds like a pilot error.  Works fine:

<%
 session.setAttribute("request",request);
 session.getAttribute("request");
 out.println("request: " + request);
%>

Outputs: 
request: org.apache.catalina.connector.HttpRequestFacade@649dcd 

----- Original Message ----- 
From: <Patrick.Pierra@linedata.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, June 14, 2001 9:05 AM
Subject: session object


> Hi !
> 
> I don't understand why but when I put the request object in the session :
> 
> session.setAttribute("request", request);
> 
> and try to retrieve it later in another jsp page :
> 
> request = (HttpServletRequest) session.getAttribute("request");
> 
> I constat that my request object is egal to null
> 
> WHY !!!!!
> 
> 
> Patrick PIERRA
> 


Mime
View raw message