This message means what it says - Tomcat can't fine the file
includes/LocalizationConstatns.js.  I believe that this is relative to the
file that is including it and not the webapp.

        Randy

> -----Original Message-----
> From: Govind Agarwal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 10:42 AM
> To: [EMAIL PROTECTED]
> Subject: Upgrading from Tomcat3.1.1 to Tomcat3.2.2
> 
> 
> Hello,
> 
> I have upgraded from Tomcat3.1.1 to Tomcat3.2.2.
> The WebServer used is IIS.
> 
> Everything runs fine but the Include Tag which gives "Bad 
> file argument to
> include "
> The Syntax I have used is
> <%@ include file = "includes/LocalizationConstants.js" %>
> 
> The same thing works fine with Tomcat3.1.1
> Is there are any change in the syntax for this or there is some other
> problem.
> Please help.
> 
> Regards
> Govind
> 
> The Error thrown is :
> 
> Error: 500
> Location: /art/Main.jsp
> Internal Servlet Error:
> 
> org.apache.jasper.compiler.CompileException: 
> C:\art\Main.jsp(54,0) Bad file
> argument to include
>       at
> org.apache.jasper.compiler.JspParseEventListener.handleDirecti
> ve(JspParseEve
> ntListener.java, Compiled Code)
>       at
> org.apache.jasper.compiler.DelegatingListener.handleDirective(
> DelegatingList
> ener.java:116)
>       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:1042)
>       at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
>       at 
> org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled
> Code)
>       at 
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
>       at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader1
> 2.java:146)
>       at 
> org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
>       at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
> ecessary(JspSe
> rvlet.java:258)
>       at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> (JspServlet.ja
> va:268)
>       at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:429)
>       at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled
> Code)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at 
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper
> .java:405)
>       at org.apache.tomcat.core.Handler.service(Handler.java, 
> Compiled Code)
>       at 
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> Compiled Code)
>       at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java,
> Compiled Code)
>       at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> Compiled Code)
>       at
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpC
> onnectionHandler.java, Compiled Code)
>       at 
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
>       at 
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
>       at java.lang.Thread.run(Thread.java:479)
> 
> 

Reply via email to