If you are using JSP 1.1, the "flush" attribute is mandatory for the
jsp:include action and must be set to "true".
<jsp:include page="page.jsp" flush="true" />
Justy
----- Original Message -----
> <jsp:scriptlet></jsp:scriptlet>
>
> This is a jsp1.0 specification syntax
> I don;t know if Tomcat has backward compatibility with jsp1.0
> So check out the site or documentation that comes with Tomcat
>
> <jsp:include page="page.jsp"/> [Error: Invalid jsp:include tag]
> This error could be because the included file couldn't be compiled by
> Tomcat
> Try accessing page.jsp from browser and then check
>
> The other thing is , if the buffer is flushed by page.jsp they u may
> have problems including it in some other page.
>
> regards
> Nagesh
> jr Software Developer
> Infosys Technologies Ltd
> Bangalore
> India
>
> -----Original Message-----
> From: Philip Weaver [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 4:01 PM
> To: [EMAIL PROTECTED]
> Subject: Problem : JSP Tag XML Syntax (<jsp:include>, etc.)
>
>
> I'm using Tomcat 3.2.1 and am unable to use the XML syntax of certain
> JSP
> tags:
>
> <jsp:include page="page.jsp"/> [Error: Invalid jsp:include tag]
> <jsp:scriptlet></jsp:scriptlet>
>
> The same tags work in Resin. What could I be doing wrong?
>
> Thanks,
> Philip
>
> org.apache.jasper.compiler.CompileException:
> /Organize/Tomcat/jakarta-tomcat-3.2.1/webapps/philmaker//index.jsp(27,2)
> Invalid jsp:include tag
> at
> org.apache.jasper.compiler.IncludeGenerator.(IncludeGenerator.java:95)
> ...
> ....
> .....
>
> ========================================================================
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name
http://www.jguru.com/jguru/faq/faqpage.jsp?name
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets