title: access the servlet classname or servlet name
body: <p><a href="http://127.0.0.1:8080/testserver" rel="nofollow">http://127.0.0.1:8080/testserver</a></p>
  
  <p>testserver should it be the servlet name of classname of the servlet ? </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
  &lt;display-name&gt;helloTest&lt;/display-name&gt;
  &lt;servlet&gt;
      &lt;description&gt;
      &lt;/description&gt;
      &lt;display-name&gt;foo&lt;/display-name&gt;
      &lt;servlet-name&gt;foo&lt;/servlet-name&gt;
      &lt;servlet-class&gt;
      foo&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;foo&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/foo9&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  </code></pre>
  
  <p></p>
  
  <p>ok so i say </p>
  
  <pre><code>http://127.0.0.1:8080/helloTest/foo9 
  </code></pre>
  
  <p>it works, but when i \say</p>
  
  <pre><code>http://127.0.0.1:8080/helloTest/foo
  </code></pre>
  
  <p>it doesnt work why is that ?</p>