tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Junquera" <>
Subject RE: ErrorPage on Include JSPs does not work!!
Date Wed, 06 Sep 2000 15:30:01 GMT
It looks like you're printing to the output writer and then trying to
forward to the error page.

-----Original Message-----
From: Ismael Blesa Part []
Sent: Wednesday, September 06, 2000 11:07 AM
Subject: ErrorPage on Include JSPs does not work!!

I have a JSP A that includes a JSP B both with the errorPage set to
receive all the errors. When the exception is throwen in B I get a page
with some content from JSP A and the following exception :

java.lang.IllegalStateException: Cannot forward as
OutputStream or Writer has already been obtained

Do you know how to solve this problem?

View raw message