I am migrating from SpringBoot 2.7.18 to 3.0.13 with the accompanying
migration from Tomcat 9.0.83 to 10.1.16.

I am trying to render a large message, around 8kB. In Tomcat 9, the content
renders correctly, In Tomcat 10 the content doesn't render at all, and
there's no error message. I noticed if I make the content smaller, it does
render correctly.

Leaving the content too big to render in Tomcat 10, I debugged down to...
org/springframework/web/servlet/tags/MessageTag.doEndTag

...and noticed "this.pageContext.getOut()" returns
"org.apache.jasper.runtime.JspWiterImpl". I also noticed the buffer size
was 8192, which should be irrelevant. However, I've noticed if I set the
following JSP directive at the top of the page, it renders OK

<%@ page buffer="32kb" %>

Has something broken JspWriterImpl?

I've tried upgrading to Tomcat 10.1.34 which doesn't resolve the issue.

Thoughts?

Reply via email to