title: How to invoke a servlet without mapping in web.xml?
body: <p>How to invoke a simple servlet using the following URL:
  <a href="http://localhost:8080/servlet/MyServlet" rel="noreferrer">http://localhost:8080/servlet/MyServlet</a></p>
  
  <p>I placed it in the folder: <code>tomcat\webapps\ROOT\WEB-INF\classes</code></p>
  
  <p>I've read there is no need to mention the servlet in web.xml. I did the same. Still, I'm unable to invoke it.</p>