cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [C2]: ToDo - List for going Beta
Date Thu, 12 Apr 2001 16:17:03 GMT
On Thu, 12 Apr 2001, giacomo wrote:

> We have to take the following into acount for redirect:
>
> 1. If the pipeline has started to output characters onto the
>    OutputStream IIRC the servlet engine will throw an Exception
>    when issuing a redirect afterwards. There will be situation where you
>    *never* will be able to redirect because of this restriction (think
>    of a pipeline containing a XSP generator and an XMLSerializer which
>    almost immediately produce output on the OutputStream).

actually, apparantly, that's not strictly true with tomcat (and other
2.2+ servlet engines?) - if the bytes that have been written to the
outputstream have not been flushed yet, then it is still possible to send
redirects and set http response headers. there's a method you can use to
check - response.isCommitted().

oh, and what about content aggregation? i'd think that'd be on the todo
list.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message