title: How to correct URL mapping in web.xml file
body: <p>Here's my scenario...My homepage link is </p>
  
  <pre><code>local/proj/admin-home
  </code></pre>
  
  <p>when I browse in another link like</p>
  
  <pre><code>local/proj/registration/organization-registry
  </code></pre>
  
  <p>but on that page when I hover my mouse in another link the link gives me </p>
  
  <pre><code>local/proj/registration/list
  </code></pre>
  
  <p>But this link must be </p>
  
  <pre><code>local/proj/list
  </code></pre>
  
  <p>So I noticed that when I browse to the link local/proj/registration/organization-registry all of the links in that page also starts with local/proj/registration/ but it must be /local/proj/ only...</p>
  
  <p>here's my xml file</p>
  
  <pre><code>&lt;servlet&gt;
  &lt;servlet-name&gt;admin-home&lt;/servlet-name&gt;
  &lt;servlet-class&gt;web.HomeServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;admin-home&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/admin-home&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;servlet&gt;
  &lt;servlet-name&gt;list&lt;/servlet-name&gt;
  &lt;servlet-class&gt;ViewRegisteredServlet.RegisteredOrganizationServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;list&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/list&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;servlet&gt;
  &lt;servlet-name&gt;organization-registry&lt;/servlet-name&gt;
  &lt;servlet-class&gt;web_registration.OrganizationServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;organization-registry&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/registration/organization-registry&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>