https://bz.apache.org/bugzilla/show_bug.cgi?id=66295
Bug ID: 66295
Summary: Multiple relative <@ include to subfolder not working
anymore
Product: Tomcat 9
Version: 9.0.67
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
If you have a jsp like this:
<%@ include file="include/content1.jsp" %>
<%@ include file="include/content2.jsp" %>
content2.jsp not found and you get this exception:
Caused by: org.apache.jasper.JasperException:
/WEB-INF/views/manager/content/content.jsp (Line: [2], Column: [5]) File
[include/content2.jsp] not found
both jsp exists and if you link it absolute it works:
<%@ include file="/WEB-INF/views/manager/content/include/content1.jsp" %>
<%@ include file="/WEB-INF/views/manager/content/include/content2.jsp" %>
it seems the second include check relative from the first one and search the
jsp at include/include/content2.jsp and there is of course no jsp.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]