Hi, I'm having difficulty trapping errors in my web application. I have a page 1 that does a <forward:> to page 2. Now on both page 1 and 2 and I have a directive at the top that looks like: <% page language="java" errorPage="/jsp/main.jsp?errorpage=yes" %> The purpose of this is to use my central JSP "controller" page, main.jsp, that does this: <jsp:include page="/jsp/error.jsp" flush="true"/> However when an error occurs, Tomcat reports: 2001-02-22 08:46:26 - Ctx( /demo ): IllegalStateException in: R( /demo + /jsp/main.jsp + null) Cannot forward as OutputStream or Writer has already been obtained Is there a better way to catch and forward errors? Thanks, Jason -- Jason Novotny [EMAIL PROTECTED] Home: (510) 704-9917 Work: (510) 486-8662 NERSC Distributed Computing http://www-didc.lbl.gov --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]