This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 80370a06fe Propagate flush attribute
80370a06fe is described below
commit 80370a06fece4a585955cc8ab4849d22dd4bf857
Author: remm <[email protected]>
AuthorDate: Mon Jun 1 11:17:20 2026 +0200
Propagate flush attribute
---
java/org/apache/jasper/runtime/JspContextWrapper.java | 2 +-
webapps/docs/changelog.xml | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/jasper/runtime/JspContextWrapper.java
b/java/org/apache/jasper/runtime/JspContextWrapper.java
index eb7e9cc907..f42fed8b81 100644
--- a/java/org/apache/jasper/runtime/JspContextWrapper.java
+++ b/java/org/apache/jasper/runtime/JspContextWrapper.java
@@ -325,7 +325,7 @@ public class JspContextWrapper extends PageContext
implements VariableResolver {
@Override
public void include(String relativeUrlPath, boolean flush) throws
ServletException, IOException {
- invokingJspCtxt.include(relativeUrlPath, false);
+ invokingJspCtxt.include(relativeUrlPath, flush);
}
@Override
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index dffa409320..ccdea6ae60 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -286,6 +286,9 @@
<fix>
Fix thread safety of <code>TagPluginManager</code>. (remm)
</fix>
+ <fix>
+ Correctly use flush on JSP include. (remm)
+ </fix>
</changelog>
</subsection>
<subsection name="Cluster">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]