tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milo Hyson" <m...@cyberlifeservices.com>
Subject Re: Serious redirect bug
Date Tue, 30 May 2000 17:38:43 GMT
What you wrote is very clear. It just doesn't conform to Sun's
specification. If this is the way Tomcat is going to do things, it shouldn't
claim compliance with the spec.

- Milo Hyson
CyberLife Labs

----- Original Message -----
From: <rokicki@instantis.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Monday, May 29, 2000 7:35 PM
Subject: Re: Serious redirect bug


> Tomcat is doing the right thing here; all other servlet implementations
> I've used do the same thing.  It's your responsibility to ensure that
> the appropriate control flow happens in the servlet.
>
> The specification fragment you quote makes no mention of any control
> flow issues, just that your servlet better not use that output stream
> for anything else.
>
> One way to deal with this in a way that makes obvious errors less likely
> is to use your own redirect method that throws a Throwable right after
> the redirect, and make sure this Throwable is caught in someone's
> service or doPost/doGet method.
>
> Write me directly if this isn't sufficiently clear.
>
> -tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


Mime
View raw message