You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Graham Stewart <Gr...@compuserve.com> on 2000/09/13 01:36:31 UTC

Bugs #21, #68 request.getSession() fails when followed by RequestDispatcher.include()

Hi,

I'm seeing this behaviour in Tomcat 3.1 release.
Does anyone know who I should contact about this as I have additional
reproducible behaviour:

As per example 2-  I include() a JSP and getSession() fails by returning  a new
session context.
If I force a syntax error into the JSP I naturally get an 
Included servlet error : 500
I then undo the error.
On the next request the JSP is recompiled.
The next call to getSession() returns a new session context 
but from then on getSession() works and the
expected session is always returned.

Any pointers as to what I should do about this?

Graham




[BUG TRACKING] Workarounds and other descriptive text

Posted by Nick Bauman <ni...@cortexity.com>.
I wanted to widen the description field and the workaround field (because 
they are getting truncated), but unfortunately BugRat has decided to make
these of type "MEDIUM BLOB" in MySQL, which makes this difficult to do
without breaking stuff.

I'd like to see a 32767-wide text field get used, but it might mean that
BugRat will be out of commission while I screw around with it a bit.

Does anyone care about this? Would you rather I just left it alone or
would you like to see this stuff fixed once and for all?

(The bytes of code that MySQL occupies would be a great place to actualy
have a database someday)

-Nick


Re: Bugs #21, #68 request.getSession() fails when followed by RequestDispatcher.include()

Posted by Nick Bauman <ni...@cortexity.com>.
Graham,

I've added this info to Bug #21. 


On Wed, 13 Sep 2000, Graham Stewart wrote:

> Hi,
> 
> I'm seeing this behaviour in Tomcat 3.1 release.
> Does anyone know who I should contact about this as I have additional
> reproducible behaviour:
> 
> As per example 2-  I include() a JSP and getSession() fails by returning  a new
> session context.
> If I force a syntax error into the JSP I naturally get an 
> Included servlet error : 500
> I then undo the error.
> On the next request the JSP is recompiled.
> The next call to getSession() returns a new session context 
> but from then on getSession() works and the
> expected session is always returned.
> 
> Any pointers as to what I should do about this?
> 
> Graham
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>