tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmanola...@yahoo.com
Subject Re: Cocoon interceptor inside Tomcat?
Date Wed, 20 Sep 2000 19:51:48 GMT
> The RequestInterceptor architecture in Tomcat 3.2 isn't really set up to
> intercept the output stream in the way you would need to do this easily.
> You can change the headers in the beforeBody() entry point, but it's
> difficult to replace the output stream itself unless you build a custom
> Response implementation further up the request processing pipeline and
> modify the connectors to use your implementation instead.


beforeCommit() is there just for that :-)


( it is supposed to work in the same way as IIS output
filters. Apache filters are a bit more complex - and more powerfull ,
probably in 3.4. Let me know if you have any problems with it )

Costin


Mime
View raw message