You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/09/30 17:00:54 UTC

[Bug 66289] New: JSP page with relative path is not found, resulting in Jasper exception

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: sorlovich@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66289] JSP page with relative path is not found, resulting in Jasper exception

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66289

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Mark Thomas <ma...@apache.org> ---


*** This bug has been marked as a duplicate of bug 66277 ***

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


[Bug 66289] JSP page with relative path is not found, resulting in Jasper exception

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66289

--- Comment #1 from Sergey <so...@commure.com> ---
Created attachment 38398
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38398&action=edit
Jasper Exception

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


[Bug 66289] JSP page with relative path is not found, resulting in Jasper exception

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66289

Sergey <so...@commure.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

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