cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: Yet another 1.8.2 problem
Date Thu, 01 Feb 2001 21:00:01 GMT
Ulrich Mayring <> wrote:
>since upgrading to 1.8.2 I get this:
>java.lang.IllegalStateException: Already called getWriter
>         at
>         at
>         at org.apache.cocoon.Engine.handle(
>         at org.apache.cocoon.Cocoon.service(
>         at javax.servlet.http.HttpServlet.service(
>         at
>         at
>         at
>Probably because of the following code in my SOAP taglib:
>PrintWriter _soap_out = new PrintWriter(response.getWriter());

If Stefano were here, he'd say "You can't do this, it violates the Cocoon 
separation of concerns!" But I'm willing to be more flexible.

Question 1. What should happen when Cocoon tries to output something in 
addition to what you've outputted? Should it not output anything? If 
something, what?

Question 2. Is it a bad idea to allow this now, given that it probably won't 
be possible to grab the writer/outputstream in C2?

Get Your Private, Free E-mail from MSN Hotmail at

View raw message