tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6360] - request.getSession(true) may return null
Date Thu, 14 Feb 2002 08:21:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6360>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6360

request.getSession(true) may return null





------- Additional Comments From lec@uniquare.com  2002-02-14 08:21 -------
Excerpt from the Servlet 2.2 spec:

Using a Request Dispatcher

To use a request dispatcher, a developer needs to call either the include or 
forward method of the RequestDispatcher interface using the request and 
response arguments that were passed in via the service method of the Servlet 
interface.
The Container Provider must ensure that the dispatch to a target servlet occurs 
in the same thread of the same VM as the original request.

-> current Tomcat 3.3 implementation seems to forward the request in a new 
thread, which causes additional problems (that's why I needed to use "include" 
for my workaround, which is quite different with new side-effects - but runs in 
the same thread)

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message