Re: [Fwd: Re: Response not flushed before RD.forward() returns]

2006-01-23 Thread Jan Luehe
Bill Barker wrote On 01/21/06 17:45,: > "Remy Maucherat" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>Bill Barker wrote: >> >>>Yeah, it's pretty much a fatal flaw in the Catalina design. It's >>>currently impossible for Catalina to satisfy both the requirements for >>>er

Re: [Fwd: Re: Response not flushed before RD.forward() returns]

2006-01-21 Thread Bill Barker
"Remy Maucherat" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Barker wrote: >> Yeah, it's pretty much a fatal flaw in the Catalina design. It's >> currently impossible for Catalina to satisfy both the requirements for >> error-pages and forwards. > > Given the amount of p

Re: [Fwd: Re: Response not flushed before RD.forward() returns]

2006-01-21 Thread Remy Maucherat
Bill Barker wrote: Yeah, it's pretty much a fatal flaw in the Catalina design. It's currently impossible for Catalina to satisfy both the requirements for error-pages and forwards. Given the amount of people who have complained about this behavior which has been present from the beginning of

Re: [Fwd: Re: Response not flushed before RD.forward() returns]

2006-01-21 Thread Bill Barker
"Remy Maucherat" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jan Luehe wrote: >> Right, but flush does nothing once the response has been suspended. >> >> In addition, consider the case where a request has been >> forward-dispatched into a foreign context. If the target >> servl

Re: [Fwd: Re: Response not flushed before RD.forward() returns]

2006-01-20 Thread Remy Maucherat
Jan Luehe wrote: Right, but flush does nothing once the response has been suspended. In addition, consider the case where a request has been forward-dispatched into a foreign context. If the target servlet in the foreign context has set a status code on the response, and the response is being su

Re: [Fwd: Re: Response not flushed before RD.forward() returns]

2006-01-20 Thread Jan Luehe
Remy Maucherat wrote On 01/20/06 03:45,: > I tried to post that to dev, but there's apparently some issue since my > message hasn't been posted yet. > > Rémy > > Original Message ---- > Subject: Re: Response not flushed before RD.forward() returns

Re: Response not flushed before RD.forward() returns

2006-01-20 Thread Remy Maucherat
Bill Barker wrote: Without ever actually having looked at ResponseFacade, I'd always assumed that ResponseFacade.finish called Response.finishResponse. And I would have been wrong ;-). This would have done the commit/send/close properly. It has always been like this: processing for error page

Re: Response not flushed before RD.forward() returns

2006-01-20 Thread Remy Maucherat
Jan Luehe wrote: Bill Barker wrote On 01/19/06 18:11,: -Original Message- From: Jan Luehe [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 5:57 PM To: tomcat-dev@jakarta.apache.org Subject: Response not flushed before RD.forward() returns Consider the following code sn

Re: Response not flushed before RD.forward() returns

2006-01-19 Thread Jan Luehe
Bill Barker wrote On 01/19/06 18:11,: > > > >>-Original Message- >>From: Jan Luehe [mailto:[EMAIL PROTECTED] >>Sent: Thursday, January 19, 2006 5:57 PM >>To: tomcat-dev@jakarta.apache.org >>Subject: Response not flushed before RD.forward() returns >> >>Consider the following code sni

RE: Response not flushed before RD.forward() returns

2006-01-19 Thread Bill Barker
> -Original Message- > From: Jan Luehe [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 19, 2006 5:57 PM > To: tomcat-dev@jakarta.apache.org > Subject: Response not flushed before RD.forward() returns > > Consider the following code snippet of a servlet's service() method: > > pu