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:[EMAIL PROTECTED] > Sent: Wednesday 29 September 2004 19:45 > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
