struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Angel Mulero Martinez <>
Subject RE: java.lang.IllegalStateException: Already called getOutputStream()
Date Wed, 28 Aug 2002 08:13:13 GMT
I think I haven't any PrintWriter open. The first lines of my JSP are:

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"  prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld"  prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"  prefix="bean" %>
<%@ taglib uri="/WEB-INF/log.tld"  prefix="log" %>
<%@ taglib uri="/WEB-INF/login.tld"  prefix="login" %>

<login:checkLogon />

<log:debug category="jsp.noticias.busquedaNoticias"
message="busquedaNoticiasJSP iniciado" />

Some idea?

-----Mensaje original-----
De: Adolfo Miguelez []
Enviado el: miƩrcoles, 28 de agosto de 2002 10:09
Asunto: Re: java.lang.IllegalStateException: Already called

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.


>From: Miguel Angel Mulero Martinez <>
>Reply-To: "Struts Users Mailing List" <>
>To: Struts Users Mailing List <>
>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.
>it returns SKIP_BODY (that happens when the user is not authenticated) I
>receive an "java.lang.IllegalStateException: Already called
>If the user is authenticated, then the tag returns an EVAL_PAGE and the
>loads perfectly.
>Someone can help me?
>Thanks in advance!!
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Chat with friends online, try MSN Messenger:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message