What happens when you put a clear() before your forward? Assuming your
buffer hasn't already been flushed.
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Stefan Ullrich
> Sent: Saturday, September 09, 2000 5:25 PM
> To: [EMAIL PROTECTED]
> Subject: include=Yes,forward=not?!
>
>
> Hi everyone,
> can anybody tell me why I can't forward from my "Interview.jsp"
> shown below
> to the "InterviewResponse.jsp" (throws a java.lang.IllegalStateException:
> Response has already been committed)? Exchanging forward with
> include causes
> no problems at all!
> Thanx for a hint
> regards
> Stefan Ullrich
>
> <%@ page import="InterviewBean" %>
> <jsp:useBean id="iBean" scope="session" class="InterviewBean"/>
> <jsp:setProperty name="iBean" property="*"/>
> <% request.setAttribute("title","Interview"); %>
> <%@ include file="Header.html" %>
> <jsp:include page="InterviewForm.html" />
> <jsp:include page="FormValidation.jsp" />
> <% if (request.getAttribute("ok")=="true") { %>
> <jsp: f o r w a r d page="InterviewResponse.jsp" />
> <% } %>
>
> ==================================================================
> =========
> 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
>
===========================================================================
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