title: @WebServlet annotation and error 404
body: <p>First of all: I use GlassFish 3.1 + Eclipse Java EE indigo.
  I want to testing cache solutions with javaee so I made a dummy app. I have a big generated database and I list, search, modify, etc some data. To do that I wrote some basic servlet and I call with GET parameters. e.g.: /app/list?page=product&amp;pageSize=100
  The ListServlet is annotated with</p>
  
  <pre><code>@WebServlet({ "/ListServlet", "/list" })
  </code></pre>
  
  <p>and it works like a charm, I can use both urls.
  So I need some additional servlet (for search, modify). I created them and annotated the same way. 
  But when I type the url <code>http://localhost/app/modify</code> or /app/search?id=1 I get error 404. 
  I tried to write a very dummy helloservlet which is print a hello world message but it didn't work: error 404. I restarted the glassfish server and the computer but not helped.</p>
  
  <p>What's the problem? Did I miss something?</p>
  
  <p>EDIT:
  the servlets are the same package uses the same imports...</p>