Is this a legal value for <url-pattern>. I tested with tomcat and it throws an exception when I deploy. But, I just don't understand why this is the case. In servlet spec 11.2 point 4, it says "all other strings are used for exact matches only". So why this cannot be matched with url "http://myhost/myapp/myServlet" - isnt that an exact match?