This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new a1cf2416e2 Throw include error when it occurs a1cf2416e2 is described below commit a1cf2416e26e24cbba953746ba716c7ab9065306 Author: remm <r...@apache.org> AuthorDate: Thu Sep 21 12:14:31 2023 +0200 Throw include error when it occurs --- java/org/apache/jasper/runtime/JspRuntimeLibrary.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/org/apache/jasper/runtime/JspRuntimeLibrary.java b/java/org/apache/jasper/runtime/JspRuntimeLibrary.java index 538f2d00ea..5c674eee4f 100644 --- a/java/org/apache/jasper/runtime/JspRuntimeLibrary.java +++ b/java/org/apache/jasper/runtime/JspRuntimeLibrary.java @@ -993,6 +993,9 @@ public class JspRuntimeLibrary { if (rd != null) { rd.include(request, new ServletResponseWrapperInclude(response, out)); + } else { + throw new JasperException( + Localizer.getMessage("jsp.error.include.exception", resourcePath)); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org