title: Getting part of request url inside servlet
body: <p>I have an <code>EmailVerification</code> Servlet mapped with <code>/ev/*</code> url-pattern.</p>
  
  <pre><code>http://example.com/ev/ce52320570
  </code></pre>
  
  <p>How can I get this <code>ce52320570</code> part of the URL in my Servlet?</p>
  
  <pre><code>protected void doPost(HttpServletRequest request, HttpServletResponse response)
                                                       throws ServletException, IOException {
        String vid = "";  // Here I need to get the id from the URL
  }
  </code></pre>