Fixes issue #18 #19

wants to merge 1 commit into


None yet

3 participants

yortx commented Jul 3, 2012

This commit fixes issue #18. It just replaces the use of the deprecated File.toURL() with the suggested File.toURI().toURL().
This allows sitemesh to find the configuration file in cases when the war file contains, for example, the '#' character (useful in tomcat to deploy to a subfolder).

brianv0 commented Jun 8, 2013

Please merge this!

This fixes problems in tomcat where you deploy to a nested directory.
For example:
when deploying two applications with paths:


Tomcat deploys as:

The deprecated toURL call omits everything after # and you get an error on startup.

eschulma commented Dec 6, 2015

I need this also...and I see there are two pull requests for the exact same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment