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

Reply via email to