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
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".