Hi all,

I know that forwarding after content has been written will cause an
IllegalStateException.

However, why am I having a problem including? Does including have the same
restrictions as forwqarding?

ERROR>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Included servlet error: 500
Location: /Shower
Internal Servlet Error:
java.lang.IllegalStateException: Response has already been committed

Code>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>:
out.write("\n<td>");
reqDisp = _context.getRequestDispatcher("/ShowerApp/middle.jsp");
reqDisp.include(req, resp);
out.write("\n</td>");


TIA,
Lee

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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

Reply via email to