27 12 / 2011
Difference between / and /* in servlet mapping
/ means the servlet is the default servlet for the app
/* is used for path mapping and captures all requests to the app. In essence, every request goes through this servlet even requests for JSPs. JSP cannot be used with a servlet mapping of /*
Never use /* in the servlet mapping.
This thread by far has the best explanation http://www.coderanch.com/t/366340/Servlets/java/servlet-mapping-url-pattern-vs