You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Denis Navitaniuk <de...@supportwizard.com> on 2004/12/25 19:21:23 UTC
error page and buffering - tomcat bug?
Hi all!
My env is:
sun_jdk142_04 + JBoss323 + Tomcat 4.1.29
I have the chain of 4 included pages a1.jsp includes a2.jsp, a2.jsp
includes a3.jsp etc...
each include looks like:
a1:
<some html/scriptlet code here/>
<jsp:include page="a2.jsp" flush="false"/>
<some html/scriptlet code here/>
at the start of each jsp I wrote
<%@ page buffer="2048kb"%> // much more than I need
<%@ page autoFlush="false" %>
the last jsp at the end throws an exception - and I receive the
following content::
<a lot of html code>
<my error.jsp page>
Tried to setup buffer size for web.xml to 2MB
for DefaultServlet
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>
org.apache.catalina.servlets.DefaultServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>output</param-name>
<param-value>2097152</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
No luck - still receiving alot of html code before error.jsp.
Any thoughts/suggestions?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org