In servlet 3.0 & tomcat 8 , we can get servlet mapping by the servlet name as following:
request.getServletContext().getServletRegistration(servletName).getMa