String name = null;
Context context = request.getContext();
//Try exact match
if (!(relativeURI.equals("/")))
name = context.findServletMapping(relativeURI);
//Try prefix match (i.e. xyz/* )
if (name == null) {
servletPath = relativeURI;
while (true) {