This is an automated email from the ASF dual-hosted git repository.

rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 101cd4c2da Propagate flush attribute
101cd4c2da is described below

commit 101cd4c2da8eeaa9cb319e0b938a5c0d01178b19
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 7937e36471..7df87dee3c 100644
--- a/java/org/apache/jasper/runtime/JspContextWrapper.java
+++ b/java/org/apache/jasper/runtime/JspContextWrapper.java
@@ -321,7 +321,7 @@ public class JspContextWrapper extends PageContext {
 
     @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 749edf0299..a7e4e33079 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -290,6 +290,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]

Reply via email to