Hello, I am trying to configure static files with default servlet in tomcat 8.0.9 but could not succeed.
My directory structure in deployed webapp is: - WEB-INF - static -css -images -js - META-INF and* web.xml* configuration using default servlet is : <!-- static URLs --> <servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>/res/*</url-pattern> </servlet-mapping> But when i make request from my page with URL it fails with 404. http://SUB.DOMAIN.COM/myapp/*res/static/*js/imports/jquerymin.js What could be the problem? How can i make it work? I tried to find information from web, but could not help. Thanks.