title: How to change the URL pattern from /index.jsp to /test/index.jsp by configuring web.xml?
body: <p>I have jsp file named <code>index.jsp</code> in root folder (webcontent), till now I simply used to access the page using the following URL:</p>
  
  <blockquote>
    <p><a href="http://localhost:8080/Sample/index.jsp" rel="nofollow">http://localhost:8080/Sample/index.jsp</a></p>
  </blockquote>
  
  <p>Where Sample is the project name.</p>
  
  <p>Now I was asked to change the URL pattern to the following without changing the location of index.jsp file (i.e. still the index.jsp be under webcontent folder):</p>
  
  <blockquote>
    <p><a href="http://localhost:8080/Sample/test/index.jsp" rel="nofollow">http://localhost:8080/Sample/test/index.jsp</a></p>
  </blockquote>
  
  <p>How to achieve this by configuring the web.xml?</p>