I have set up xslt under a stand alone tomcat instance [not running
under apache] as a filter specification in the target applications
web.xml file. If the name of the xml document matches the URL filter
specification:
/servlet/pps.path.PPSServlet
The XSLT file culo.xsl is used to render the XML file. The order of
all the tags in web.xml file are critical. For example if <filter-
mapping> appears before <filter> tomcat will fail to load the
application.
<filter>
<filter-name>culo Filter</filter-name>
<filter-class>com.develop.filters.XSLTFilter</filter-class>
<init-param>
<param-name>xslt</param-name>
<param-value>/culo.xsl</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>culo Filter</filter-name>
<url-pattern>/servlet/pps.path.PPSServlet</url-pattern>
</filter-mapping>