jspc is failing with: error-the file '\sub\Page3.jsp' generated the following parse exception: org.apache.jasper.compiler.CompileException: c:\tomcat321\webapps
\test\sub\Page3.jsp(5,0) Bad file argument to include
 
In Page3.jsp I am including a file like this: <%@include file="../Inc2.jsp" %>
It appears that jspc does not know how to handle including files up relatively. Of course , when I access page3.jsp from a browser everything works fine; thus Tomcat knows how to deal with that situation; so I am inclined to think either there is a bug in jspc or there is a switch to jspc that I don't know how to use.
 
Can anyone help?
 
Thierry
 
PS: The test site structure is like this:
 
/test/
    Page1.jsp
    Page2.jsp
    Inc2.jsp
 
    /sub
        Inc1.jsp
        Page3.jsp
 
 

Reply via email to