Hi, So BEA is telling you that if you say page buffer="64kb" and they give you 12kb, that's the spec? ;)
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Jason Irwin [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 19, 2004 5:23 AM >To: '[EMAIL PROTECTED]' >Subject: Strange behaviour with buffers > >Apologies if this is in the wrong group, I think that "User" is the right >one. > >I have noted a difference between how Tomcat (4.0.6 and 4.1.127) and >WebLogic (7.0 and 8.1) assign buffers, and I'm trying to figure out which >one 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 <%=out.getBufferSize()%><BR> > Outer remaining is <%=out.getRemaining()%><BR> > <jsp:include page="inner.jsp" /><BR> > Outer buffer is now <%=out.getBufferSize()%><BR> > Outer remaining is now <%=out.getRemaining()%> > </body> ><html> > >"inner.jsp" ><%@ page buffer="64kb" %> >Inner buffer is <%=out.getBufferSize()%><BR> >Inner remaining is <%=out.getRemaining()%> > >Tomcat reports 8kb for "outer.jsp" and then 64kb for "inner.jsp". The >remaining buffer sizes are unrelated. WebLogic reports 12kb for both and >the remaining buffer are related. It's as if Tomcat creates new JspWriter >for each dynamic include, but WebLogic keeps using the same JspWriter. BEA >have confirmed that this is their expected behaviour. > >Is anyone able to confirm if BEA are correct in their interpretation of the >JSP Specification and, if so, why Tomcat is behaving the way it does? Is >this just a case of a differing opinion on the same spec? I've had a look >through the documentation and drawn a blank. > >Thanks in advance, > >Jason. > >_______________________________________________________________________ _ >This e-mail has been scanned for all viruses by Star Internet. The >service is powered by MessageLabs. For more information on a proactive >anti-virus service working around the clock, around the globe, visit: >http://www.star.net.uk >_______________________________________________________________________ _ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]