Hi again, I solved it. I just changed the final InputStream resourceStream = this.getClass().getClassLoader().getResourceAsStream(resourcePath);
to final InputStream resourceStream = this.getClass().getResourceAsStream(resourcePath); and then it works! Thanks to this article [1] I managed to solve it. Thanks for the help, Jacob [1] http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html?page=2 -- View this message in context: http://www.nabble.com/Problem-Accessing-resource-files-in-Tomcat-6.0.18-tp23389326p23407801.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org