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 2003/02/18 21:01:27 UTC

DO NOT REPLY [Bug 17179] New: - Compile time includes outside of WEB context root, are not found

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17179>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17179

Compile time includes outside of WEB context root, are not found

           Summary: Compile time includes outside of WEB context root, are
                    not found
           Product: Tomcat 4
           Version: 4.1.8
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: steph@kvasar.com


Static includes of the form :
<%@ include file="../testinc.jsp" %>

where the current directory is the root of the web application, and so 
testinc.jsp lives one or more directory levels above the root of the web app.
Produce an error :
org.apache.jasper.JasperException: /test2.jsp(3,0) File "../testinc.jsp" not 
found

This is a difference in behaviour from Tomcat 4.0.5, which would allow this 
compilation.

Note - I tried working around this by copying the jasper-compiler.jar & jasper-
runtime.jar files from Tomcat 4.0.5 to Tomcat 4.1.8 but the problem still 
remained.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org