struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adolfo Miguelez" <pell...@hotmail.com>
Subject Re: java.lang.IllegalStateException: Already called getOutputStream()
Date Wed, 28 Aug 2002 08:09:06 GMT

Just a place where to look for,

you can not get more than one outputStream (PrintWritter) from a servlet, 
i.e. as a JSP has its own OutputStream you can not create a new one. Use the 
PrintWritter already iun the JSP and do not create a new one.

Adolfo.

>From: Miguel Angel Mulero Martinez <miguel-angel.mulero@mad.tecsidel.es>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>Subject: java.lang.IllegalStateException: Already called getOutputStream()
>Date: Wed, 28 Aug 2002 08:41:48 +0200
>
>I'm using the CheckLogonTag with my application. The tag works perfectly. 
>If
>it returns SKIP_BODY (that happens when the user is not authenticated) I
>receive an "java.lang.IllegalStateException: Already called
>getOutputStream()".
>
>If the user is authenticated, then the tag returns an EVAL_PAGE and the 
>page
>loads perfectly.
>
>Someone can help me?
>
>Thanks in advance!!
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message