title: What is the significance of url-pattern in web.xml and how to configure servlet?
body: <p>I have manually configured <code>web.xml</code> for my application. Now, I'm facing issues while running my application. I'm trying to access my <code>servlet</code> from my <code>jsp</code> page. But, it is throwing error as <code>page not found</code>.</p>
  
  <p>The servlets are placed under below folder location </p>
  
  <pre><code>&lt;application folder&gt;/WEB-INF/classes/&lt;package&gt;
  </code></pre>
  
  <p>So, what should be the entries for servlets in <code>url-pattern</code> and <code>servlet-mapping</code>. So that, <code>servlet</code> can be accessible through URL.</p>