title: Servlet Mapping fails
body: <p>Now I have the following problem:
  I am trying to create a website using Tomcat 7 and JSP.
  But I am not capable of configurating the server properly.
  I want a website that shows in the browsers address-bar something like mydomain.com/about without any *.jsp or *.html.
  In order to realize this I have a redirection Bean, that is called by a JSP-Page, parses the requested URI and returns the path of a JSP-File that should be forwarded to. The problem is the servlet mapping in the web.xml
  There i tried to create a servlet mapping for e.g. /about that is mapped to the redirect.jsp that calls the bean. The problem is, that I recieve the following exception:</p>
  
  <p>javax.servlet.ServletException: No servlet class has been specified for servlet redirect</p>
  
  <p>Here is the code of the web.xml:</p>
  
  <pre><code>&lt;servlet-mapping&gt;
      &lt;servlet-name&gt;redirect&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/engine&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;redirect&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/about&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>BTW: The index.jsp is called properly because it is in the welcome-file-list. The problem is redirecting to the other sites without displaying their path in the address-bar.</p>
  
  <p>Maybe there is a way to forward in a Javabean. This could be called by the <code>&lt;servlet-class&gt;</code>-tag in the servlet mapping.</p>
  
  <p>Thanks for your help in advance!
  Max</p>