R
RogerTBrick
I have noted a difference between how Tomcat and WebLogic assign
buffers, and I'm trying to figure out which is correct. I have an
"outer" page that does not define any buffer, and an "inner" page that
does, e.g.:
"outer.jsp"
<html>
<body>
Outer buffer is <%=pageContext.getOut().getBufferSize()%><BR>
<jsp:include "inner.jsp">
</body>
<html>
"inner.jsp"
<@ page buffer="64kb" %>
Inner buffer is <%=pageContext.getOut().getBufferSize()%>
Tomcat reports 8kb for "outer.jsp" and then 64kb for "inner.jsp".
WebLogic reports 12kb for both. It's as if Tomcat creates new
JspWriter for each dynamic include, but WebLogic keeps using the same
JspWriter.
Looking as this page
http://java.sun.com/products/jsp/tags/syntaxref.fm7.html makes me
think Tomcat is correct, but I am not 100% sure. Any ideas? Am I
doing something stupid?
Cheers,
RtB
buffers, and I'm trying to figure out which is correct. I have an
"outer" page that does not define any buffer, and an "inner" page that
does, e.g.:
"outer.jsp"
<html>
<body>
Outer buffer is <%=pageContext.getOut().getBufferSize()%><BR>
<jsp:include "inner.jsp">
</body>
<html>
"inner.jsp"
<@ page buffer="64kb" %>
Inner buffer is <%=pageContext.getOut().getBufferSize()%>
Tomcat reports 8kb for "outer.jsp" and then 64kb for "inner.jsp".
WebLogic reports 12kb for both. It's as if Tomcat creates new
JspWriter for each dynamic include, but WebLogic keeps using the same
JspWriter.
Looking as this page
http://java.sun.com/products/jsp/tags/syntaxref.fm7.html makes me
think Tomcat is correct, but I am not 100% sure. Any ideas? Am I
doing something stupid?
Cheers,
RtB