It's not clear from your test case, but is the *entire* page written in
the XML syntax, including the outermost <jsp:root> element?  This is
required for Tomcat to recognize *anything* in XML syntax -- because that
is the way the JSP Specification requires things to work.

Craig


On Fri, 23 Nov 2001, Coetmeur, Alain wrote:

> Date: Fri, 23 Nov 2001 19:17:37 +0100
> From: "Coetmeur, Alain" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: jsp:directive.include directove does not work...
>
>
> I have migrated some jsp from Inprise App Server
> to tomcat 4.0 (catalina) with jboss
>
> sthod static include directives
> were not recognised
> <jsp:directive.include file="inc_header.jsp" />
>
> the
> <%@ include file="..." %>
> works well anyway...
>
> Is it a bug ?
> if true, it should be corrected
> and sent to the dev team?
> who should I contact...
>
>
> who 5.1.3 The jsp:directive.include element
> The jsp:directive.include element is used to substitute text and/or code at
> JSP page
> translation-time. This element can appear anywhere within a JSP document.
> Its syntax is:
> <jsp:directive.include file="relativeURLspec" flush="true|false" />
> The interpretation of a jsp:directive.include element is as in Section
> 2.10.3.
>
>
> jsp1.1 spec say:
>
> The include Directive
> In the XML document corresponding to JSP pages, the include directive is
> represented using
> the syntax:
> <jsp:directive.include file=" relativeURLspec" flush="true|false" />
> Examples
> Below are two examples, one in JSP syntax, the other using XML syntax:
> <%@ include file="copyright.hmtl" %>
> <jsp:directive.include file="htmldocs/logo.html" />
>
>
>
> jsp1.2 say:
> 5.1.3 The jsp:directive.include element
> The jsp:directive.include element is used to substitute text and/or code at
> JSP page
> translation-time. This element can appear anywhere within a JSP document.
> Its syntax is:
> <jsp:directive.include file="relativeURLspec" flush="true|false" />
> The interpretation of a jsp:directive.include element is as in Section
> 2.10.3.
>
>
>
>
> --
> Alain Coetmeur
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to