This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
so everything after the / becomes a key which then gets looked up in a database and the servlet does a redirect. The problem is that I don't want to servlet to intercept certain types of urls such as mysite/styles.css mysite/site.js is there anyway to say url pattern matches everything other than patterns that end in .css and .js , I don't know if its possible to do it using a regular expressions.