Re: [T5] StreamResponse causes java.lang.IllegalStateException

2008-05-29 Thread Peter Stavrinides
ent in the correct place. cheers Peter - Original Message - From: "Donyee" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Thursday, 29 May, 2008 2:26:07 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: [T5] StreamResponse causes java.lang.IllegalStateE

[T5] StreamResponse causes java.lang.IllegalStateException

2008-05-29 Thread Donyee
when i click to submit the form, i got java.lang.IllegalStateException. I search the web and found that wes because the wrong use of response.getOutputStream(); and response.getWriter(); Is this a bug? how to fix this? In my java code: StreamResponse onSuccess() { return new TextStreamRes