title: How to hide the .jsp extension in my web server urls
body: <p>I have a JSP web server, with pages that all end with the .jsp extension.</p>
  
  <p>How can I hide it in my web server urls without resorting to non-java tricks (e.g., apache rewrite)?</p>
  
  <p>For example:
  instead of typing <a href="http://www.sample.com/search.jsp?xxx" rel="noreferrer">http://www.sample.com/search.jsp?xxx</a>
  the user would just type
  <a href="http://www.sample.com/search?xxx" rel="noreferrer">http://www.sample.com/search?xxx</a></p>