I would have to double check but, to the best of my knowledge, the servlet spec does not consider the query
string part of the url-pattern for the purpose of mapping.
If you plan on doing this
test it, not only in the container that you're using but any that you plan to support (as well as versions of those containers) and, unless you find something in the spec that specifically states that query strings are considered, plan on re-testing for every future version of each container you plan to support.