You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steve Kirk <to...@web-startup.co.uk> on 2004/09/29 20:45:15 UTC
Who has got to work?
Can anyone confirm that they have got <include-prelude> to work? It appears
to be ignored in my installation, in that the prelude file is not included
within any of my JSPs. No exceptions are thrown or errors logged. I can't
find any reference to a problem on the web or the archives of this list.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Who has got to work?
Posted by Steve Kirk <to...@web-startup.co.uk>.
More information following my earlier post. I have configured my webapp so
that all JSP files have the same prelude included, but this appears to be
being ignored. I say this for two reasons:
1. The prelude file is never included in any JSP.
2. If I change the filename in the <include-prelude> tag to that of a
non-existent file, no error is generated.
For the time being I am trying to get this to work on a standard
installation. All I have done is added my webapp to its own directory under
the webapps directory. Can anyone see anything wrong with its web.xml
below?
Thanks.
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<include-prelude>/WEB-INF/jsp/include/prelude.jspf</include-prelude>
</jsp-property-group>
</jsp-config>
</web-app>
> -----Original Message-----
> From: Steve Kirk [mailto:tomcat-user@web-startup.co.uk]
> Sent: Wednesday 29 September 2004 19:45
> To: tomcat-user@jakarta.apache.org
> Subject: Who has got <include-prelude> to work?
>
>
>
> Can anyone confirm that they have got <include-prelude> to
> work? It appears
> to be ignored in my installation, in that the prelude file is
> not included
> within any of my JSPs. No exceptions are thrown or errors
> logged. I can't
> find any reference to a problem on the web or the archives of
> this list.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org