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/10/05 11:07:41 UTC

[Bug 66295] New: Multiple relative <@ include to subfolder not working anymore

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: dev@tomcat.apache.org
          Reporter: andreas.goebel.marcapo@gmail.com
  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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66295] Multiple relative <@ include to subfolder not working anymore

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

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

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

--- Comment #1 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