https://bz.apache.org/bugzilla/show_bug.cgi?id=69623

--- Comment #7 from Mark Thomas <ma...@apache.org> ---
Exactly what path are you passing to

this.getClass().getClassLoader().getResource(filePath)

?

getResource() is documented to find class resources by name so to obtain the
resource at WEB-INF/classes/fileName.mdd you should be passing "fileName.mdd".

To obtain the resource at WEB-INF/classes/org/apache/tomcat/fileName.mdd you
should be passing "org/apache/tomcat/fileName.mdd"

It is possible that Tomcat was more lenient about this in older versions and
that it has become less lenient as the WebResources implementation has evolved.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to