This is an automated email from the ASF dual-hosted git repository. remm 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 f2012ca836 Throw include error when it occurs f2012ca836 is described below commit f2012ca8362f05b9cc1066facbbffda277f5a4e1 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 a503b1dac0..d705e6cc93 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