https://bz.apache.org/bugzilla/show_bug.cgi?id=66289

            Bug ID: 66289
           Summary: JSP page with relative path is not found, resulting in
                    Jasper exception
           Product: Tomcat 9
           Version: 9.0.67
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: sorlov...@commure.com
  Target Milestone: -----

The application is not deployed into webapps folder. Instead docBase property
is specified in catalina/localhost/root.xml file.
The application has 2 pages:
- \parent.jsp
- \framework\child.jspf

The parent references child page in it's code:
 <%@ include file="framework/child.jspf"%>

The tomcat 9.0.67 throws HTTP error 500 because it can't find child.jspf.
however, if the syntax is changed to
 <%@ include file="/framework/child.jspf"%>
then Tomcat 9.0.67 is ok.

Tomcat 9.0.65 is ok with relative path

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to