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

http://issues.apache.org/bugzilla/show_bug.cgi?id=39817

           Summary: Include File Failure for Parent|Top Relative References
           Product: Tomcat 5
           Version: 5.0.17
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


While using the <%@ include file="" %> a Jasper exception for file not found is
generated when the target file is in a parent|top location. (Current and
subordinate directory file references are successfull.)

jdk 1.5.0_07
tomcat 5.5.17

server.xml appBase="/topdir/webapp" docBase="" path=""

topdir -
   webapp -
      parenttarget.jsp
      dir1 -
         inc.jsp
         peertarget.jsp
         subdir -
            subtarget.jsp

      
inc.jsp eg.
<%@ include file="../parnenttarget.jsp" %> FAILS file not found for
"/../parenttarget.sjp"
<%@ include file="/parenttarget.jsp" %> FAILS file not found for 
"/parenttarget.sjp"
<%@ include file="peertarget.jsp" %> OK
<%@ include file="subdir/subtarget.jsp" %> OK

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to