struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Angel Mulero Martinez <miguel-angel.mul...@mad.tecsidel.es>
Subject RE: java.lang.IllegalStateException: Already called getOutputStream() FINAL
Date Thu, 29 Aug 2002 08:33:00 GMT
It's really strange. I've found the problem. If the redirect page is a JSP
or Servlet (Action included) the tag works well, but if the redirect page is
a HTML, then I've the problem described here.

Someone know the reason? I will change any html to jsp, but I'm interested
in the cause of the problem.

Thanks to all!!

-----Mensaje original-----
De: Miguel Angel Mulero Martinez
[mailto:miguel-angel.mulero@mad.tecsidel.es]
Enviado el: miƩrcoles, 28 de agosto de 2002 10:33
Para: Struts Users Mailing List
Asunto: RE: java.lang.IllegalStateException: Already called
getOutputStream()

Yes, its really strange. Do you use Tomcat 4.0.3 whith jdk 1.4?

Thanks!!

-----Mensaje original-----
De: Rosdi bin Kasim [mailto:rosdi@epantai.com.my]
Enviado el: miƩrcoles, 28 de agosto de 2002 10:18
Para: Struts Users Mailing List
Asunto: Re: java.lang.IllegalStateException: Already called
getOutputStream()

I use CheckLogonTag which was copy-pasted from struts-example.

The code returns SKIP_PAGE when authentication failed instead of SKIP_BODY
like yours..

It works fine for me.



----- Original Message -----
From: "Miguel Angel Mulero Martinez" <miguel-angel.mulero@mad.tecsidel.es>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, August 28, 2002 2:41 PM
Subject: java.lang.IllegalStateException: Already called getOutputStream()


> 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>
>


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


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


--
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