Http has a head and a body. JSP does buffering. When the buffer is
full, the Http response is "committed". That is, the head is sent and
at least a part of the body is sent. Once part of the body is sent, it
is ok to send more body output, but the head can't be changed. The head
is committed becuase it is sent before the body.
It looks to me like you have an error page. If you look at your code
when you include an error page (gen'd java file that is), you will see
that all of your is wrapped in a try block. The catch will forward to
the error page. A forward can't be done if the head has been committed
because it needs to set some data in the head. When the forward to
error page fails, you see the stack trace.
--
tcp
Thomas Preston
Vacation.com, Inc.
Engineering Department
617.210.4855 x 124
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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