Scott,
It means you have already started writing to the response object when you
try to
A) redirect
b) start setting headers
c) maybe something else

If you have started writing to the response OutputStream before doing these
things, then this could be the problem.


Chris

-----Original Message-----
From: Scott Fitzgerald [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 18:02
To: [EMAIL PROTECTED]
Subject: Error message


Hi,
Has anyone ever gotten the following message when submitting form data?
(Tomcat, Windows NT)

java.lang.IllegalStateException: Response has already
been committed
        at
org.apache.tomcat.core.HttpServletResponseFacade.sendErro
r(HttpServletResponseFacade.java:157)
        at
org.apache.jasper.runtime.JspServlet.unknownException(Jsp
Servlet.java:299)
        at
org.apache.jasper.runtime.JspServlet.service(JspServlet.j
ava:377)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:8
53)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(Servl
etWrapper.java:503)
        at
org.apache.tomcat.core.ContextManager.service(ContextMana
ger.java:559)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.proc
essConnection(HttpConnectionHandler.java:160)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleT
cpEndpoint.java:338)
        at java.lang.Thread.run(Unknown Source)

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to