You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Abdullah <ab...@oilgrains.com> on 2001/03/07 10:40:50 UTC
Include files in Tomcat and Apache
> hi ,
I have apache 1.3.14 ( with Jserv) and Tomcat 3.2.1 running in the same machne
on linux.
All the html and images are in apache,
All the Jsp and Servlets are in tomcat
Here i have one problem .
I have a jsp called login.jsp which has an include statement like
<%@ include file="http://127.0.0.1/static/msFoot1.html" %>
or
<%@ include file="http://abdullah/static/msFoot1.html" %>
when i call this login.jsp , i am getting the following exception
Internal Servlet Error:
org.apache.jasper.compiler.CompileException:
/usr/local/jakarta-tomcat-3.2.1/webapps/Oilgrains/jsp/ login.jsp(9,0) Bad file
argument to include
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at javax.servlet.ServletException.(ServletException.java:107)
at org.apache.jasper.JasperException.(JasperException.java:73)
at org.apache.jasper.compiler.CompileException.(CompileException.java:73)
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:730)
at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
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:182)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:498)
please ,anyone can help me?
Thanks
Abdullah