Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-03 Thread Mark Thomas
On 03/02/2025 09:24, Rémy Maucherat wrote: On Mon, Feb 3, 2025 at 3:38 AM Tim N wrote: I've replicated something similar on Tomcat 10.1.34 (and also 9.0.98). Steps 1 - Download and unzip Tomcat 10.1.34 2 - Create file "webapps/ROOT/include.jsp" with contents "I've been included!" 3 - Edit "we

Re: RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-03 Thread Rémy Maucherat
On Mon, Feb 3, 2025 at 3:38 AM Tim N wrote: > > I've replicated something similar on Tomcat 10.1.34 (and also 9.0.98). Steps > > 1 - Download and unzip Tomcat 10.1.34 > 2 - Create file "webapps/ROOT/include.jsp" with contents "I've been > included!" > 3 - Edit "webapps/ROOT/index.jsp" adding the f

RE: RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-02 Thread Tim N
I've replicated something similar on Tomcat 10.1.34 (and also 9.0.98). Steps 1 - Download and unzip Tomcat 10.1.34 2 - Create file "webapps/ROOT/include.jsp" with contents "I've been included!" 3 - Edit "webapps/ROOT/index.jsp" adding the following code at the bottom of the JSP ``` <% String

RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-02-02 Thread Tim N
Just an update...I eliminated the tiles and spring:theme code, and still get the error by putting the same large content in the page with ". Again, this is resolved by increasing the buffer size. I've also noticed the response is marked as committed with the large output before the "jsp:include".

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Tim N
Yep. I also checked that, so I'm not sure where the problem could be either. > Please provide a ready to use test case. That will be time-consuming, but I'll see what I can do. If you can think of any check I can do with the existing code, that would be great (and possibly easier/quicker). On

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Tim N
It is a stack-trace generated from a break-point that I thought might be useful. On Thu, Jan 30, 2025 at 12:13 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Tim, > > Your original post says there is no error, so what exactly is this a > stack-trace OF? > > -chris > > On 1/28/25

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Rémy Maucherat
On Wed, Jan 29, 2025 at 5:45 AM Tim N wrote: > > I'm including the stack-trace in case that's helpful There are no differences in JspWriterImpl between 9.0 and the current Tomcat 11 or 12 trunk. The buffer of the writer will auto flush by default if it is full. This is the "autoFlush" on the pag

Re: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-29 Thread Christopher Schultz
Tim, Your original post says there is no error, so what exactly is this a stack-trace OF? -chris On 1/28/25 11:43 PM, Tim N wrote: I'm including the stack-trace in case that's helpful Note references to tiles is for the Jakarta EE upgraded tiles at https://github.com/tntim96/tiles/tree/jaka

RE: JspWriterImpl BufferSize And Flushing In Tomcat 10.1.16

2025-01-28 Thread Tim N
I'm including the stack-trace in case that's helpful Note references to tiles is for the Jakarta EE upgraded tiles at https://github.com/tntim96/tiles/tree/jakarta-upgrade writeMessage:385, MessageTag (org.springframework.web.servlet.tags) doEndTag:285, MessageTag (org.springframework.web.servlet