tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal-Eric Servais" <pascal-e...@videotron.ca>
Subject Re: Problem with JSP compliation -- "Invalid include tag"
Date Wed, 27 Sep 2000 14:08:35 GMT
Did you specify the flush="true" attribute !
---
Pascal-Eric Servais ( http://pages.infinit.net/denethor )
www.clickon.com
---
PGP Fingerprint : 8D0C FB66 CAF0 B9B3 E925  8D2E 7BDB 1D47 DC0B 4AEA
"La carte n'est pas le territoire", Alfred H. Korzybski


----- Original Message -----
From: "sanjeev c joshi" <schidamb@cisco.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, September 27, 2000 10:08 AM
Subject: Problem with JSP compliation -- "Invalid include tag"


> Hi,
>
> I have a strange problem with jsp compilation using   jasper. whenver
> the compiler encounters the <jsp:include page > tag in my jsp files it
> throws up the following errors;
> --------------------------------------------------------------------------
----------------------------------------
>
> org.apache.jasper.JasperException: Invalid jsp:include tag
>  at
> org.apache.jasper.compiler.IncludeGenerator.(IncludeGenerator.java:95)
>  at
>
org.apache.jasper.compiler.JspParseEventListener.handleInclude(JspParseEvent
Listener.java:834)
>
>  at
>
org.apache.jasper.compiler.DelegatingListener.handleInclude(DelegatingListen
er.java:185)
>
>  at org.apache.jasper.compiler.Parser$Include.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:1038)
>  at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled
> Code)
>  at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
>  at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
>
>  at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:161)
>
>  at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
>
>  at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
> Compiled Code)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
> Compiled Code)
>  at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>  at
>
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java,
> Compiled Code)
>  at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
> Compiled Code)
>  at java.lang.Thread.run(Thread.java, Compiled Code)
> --------------------------------------------------------------------------
--------------------------------------
>
> All other jsp's which dont have <jsp:include page= > tag work  just
> fine.  I have checked the syntax of the tag. It is exacly in line with
> JSP 1.1 specification.
> Anyone has faced this problem and found the answer, pl let me know.
> How do I set the properties for the jsp compiler. How do I include some
> other compiler in lieu of the default one. i.e what changes do I have to
> make in web.xml. I found no proper docs. regarding these issues
> .........
> Any quick help.... I would be grateful...
>
> regards
>
> --Joshi
>
>


Mime
View raw message