I'm running TC 6.0.13 and have deployed a webapp to a std directory structure ie; /contextroot/WEB-INF/classes WEB-INF/lib WEB-INF/pages WEB-INF/css WEB-INF/js /index.jsp
In both cases the external script file and the style sheet are not found. Of course if I make these things 'inline' there's no problem. I have tried referencing these files like WEB-INF/js/runner.js, /WEB-INF/js/runner.js, /js/runner.js and the files are still not found. Any ideas appreciated...
The server will not directly serve anything that under WEB-INF, so you can't put anything that's directly addressed there. This means that stylesheets, script file and images should not be placed under WEB-INF.
Since this is not anything that's Tomcat specific, it's been moved to a more general forum.