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).
Fix the use of deprecated method .toURL in File objects. Fixes issue #18
Please merge this!
This fixes problems in tomcat where you deploy to a nested directory.
when deploying two applications with paths:
Tomcat deploys as:
The deprecated toURL call omits everything after # and you get an error on startup.
I need this also...and I see there are two pull requests for the exact same issue.