tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Y Morahg" <ymor...@gist.com>
Subject multiple includes of the same static file
Date Tue, 25 Jul 2000 19:07:51 GMT
Hi.

Is there something wrong with statically inclucing the same .jsp page more
than once on a page? We are using some HTML code that's in a .jsp page to
display a color key -- and we want it at the top and the bottom of our
content. When I try to run my .jsp page that does the includes I get the
error below. Can anybody help with this???

Thanks in advance,
-Yoav


org.apache.jasper.compiler.ParseException: Seen file
/iwon/templates/colorkey.jsp already, maybe this is a recursive include?!
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.(Compiled Code)
        at java.lang.Exception.(Compiled Code)
        at javax.servlet.ServletException.(ServletException.java:107)
        at org.apache.jasper.JasperException.(JasperException.java:73)
        at
org.apache.jasper.compiler.ParseException.(ParseException.java:75)
        at org.apache.jasper.compiler.JspReader.pushFile(Compiled Code)
        at org.apache.jasper.compiler.JspReader.pushFile(Compiled Code)
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(Compiled
Code)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(Compiled Code)
        at org.apache.jasper.compiler.Parser$Directive.accept(Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Compiled Code)
        at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compi
led Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled
Code)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled
Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Compiled Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)

---------------------------
Yoav Morahg
Software Engineer
Gist Communications
(212) 965-1999 xt 122
ymorahg@gist.com



Mime
View raw message