I deploy a webapp on two different containers (Tomcat and Jetty), but their default servlets for serving the static content have a different way of handling the URL structur
try this
default *.js *.css *.ico *.png *.jpg *.htc *.gif
Edit: This is only valid for the servlet 2.5 spec and up.