tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: problem with forward
Date Wed, 22 Mar 2000 13:41:55 GMT


Dmitry Melekhov wrote:
> 
> Hello!
> 
> I use Tomcat beta.
> When I try to do forward  I get error:
> 
> Location: /intra/base/workpoint.jsp
> Internal Servlet Error:
> 
> javax.servlet.ServletException: Cannot forward as OutputStream or Writer
> has already been obtained
>  at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:384)
> 
> What this error mean?

A JSP page is not supposed to write anything to a response if it is
going to 
use the jsp:forward method.  Try jsp:include instead.

WBB




-- 
WBB - wbrogden@bga.com  Chief Scientist, LANWrights, Inc.
Java Programmer Certification information and mock exam
at  http://www.lanw.com/java/javacert/

Mime
View raw message