Bug 48384 - globalXsltFile parameter for the DefaultServlet
Summary: globalXsltFile parameter for the DefaultServlet
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: unspecified
Hardware: All All
: P2 trivial (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-13 16:24 UTC by h3xstream
Modified: 2010-02-24 00:11 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description h3xstream 2009-12-13 16:24:30 UTC
When overriding the DefaultServlet for a given application, the globalXsltFile path need to be relative to Tomcat root.

for example:
<init-param>
<param-name>globalXsltFile</param-name>
<param-value>webapps/quercus/WEB-INF/listing.xsl</param-value>
</init-param>

it would be nice if the path could be relative to the application context.
Comment 1 Mark Thomas 2010-02-13 20:15:03 UTC
This has been fixed in trunk and proposed for 6.0.x. I also made the fallback local->context->global->default work as described in the docs
Comment 2 Mark Thomas 2010-02-24 00:11:08 UTC
This has been fixed in 6.0.x and will be included in 6.0.25 onwards