title: servlet url mapping
body: <p>I have two servlets (MainServlet and LoginServlet) and MainServlet process all request and its mapped to <code>/*</code> . LoginServlet process request and it is mapped to /login. I have one html file /html/login.html. Now I want to show this html file when I hit <a href="http://localhost:8080/app/login" rel="nofollow">http://localhost:8080/app/login</a> .</p>
  
  <p>In <code>LoginServlet doGet</code> method I am doing <code>httpServletRequest.getRequestDispatcher("login/login.html").include(httpServletRequest, httpServletResponse);</code></p>
  
  <p>but this redirect request to <code>MainServlet</code>. I can't change url mapping of <code>MainSerlvet</code> from <code>/*</code> to something else.</p>
  
  <p>Any Idea how I can achieve above?
  PS: If question is not clear please tell me.</p>