Fix for #85. Static resource when run in Tomcat (or other app server)

Fix for #85 
Please review this fix before I'll merge it.