You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Ramesh Kumar.T" <ra...@india.adventnet.com> on 2000/08/22 22:48:21 UTC

JSPC problem!!!!

Hi,
    I tried to  run jspc on a file which contained a include directive
<%@ include  file="filename" %>
 it gives me an exception as follows

 org.apache.jasper.JasperException: Bad file argument to include
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java,
Compiled Code)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java,
Compiled Code)
        at
org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled
Code)
        at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled
Code)
        at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled
Code)
        at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled
Code)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
Compiled Code)
        at org.apache.jasper.JspC.parseFile(JspC.java, Compiled Code)
        at org.apache.jasper.JspC.parseFiles(JspC.java, Compiled Code)
        at org.apache.jasper.JspC.main(JspC.java, Compiled Code)
error:Bad file argument to include

Has anybody faced this??? is there a solution for this?????

bye
Ramesh