I need to serve my main application with the url pattern "/*"
so this pattern is matched to a Servlet.
The problem I am having is now all the css files and images located at "/css/all.css", "/images/" etc are going through this Servlet which is undesirable. I want these files to be directly accessed.
What is the better way to handle this situation?
Note: I am using Guice's Servlet Module to configure the patterns.
Thanks!
/*
is the pattern you want to start with. – Pusey