title: Can't start up servlet on the start
body: <p>I think I have a problem with mapping on web.xml I always get 404 error.
  I am using tomcat 7.
  When I am trying the direct url to get to servlet that all work but when I start the project I can't see this page on the start.</p>
  
  <p>This is my web.xml</p>
  
  <pre><code>&lt;servlet&gt;
    &lt;servlet-name&gt;login&lt;/servlet-name&gt;
    &lt;servlet-class&gt;com.start&lt;/servlet-class&gt;
    &lt;load-on-startup&gt;100&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  
  
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;login&lt;/servlet-name&gt;
    &lt;url-pattern&gt;/login/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt; 
  </code></pre>
  
  <p>and this is my servlet:</p>
  
  <pre><code>package com.start;
  
  import java.io.IOException;
  import java.io.PrintWriter;
  import java.util.Enumeration;
  
  import javax.servlet.ServletException;
  import javax.servlet.annotation.WebServlet;
  import javax.servlet.http.HttpServlet;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  
  /**
   * Servlet implementation class login
  
  */
  //
  //@WebServlet("/login")
  public class login extends HttpServlet {
  </code></pre>
  
  <p>Hope you can help.
  Thanks!</p>