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

Please review this fix before I'll merge it.