4 Replies Latest reply on Jul 9, 2004 6:25 AM by Rene Zanner

    Mapping Servlet, got class not found error

    Jenny Gao Newbie

      I try to map a Servlet in web.xml file, but run the servlet, I got an error:
      javax.servlet.ServletException: Wrapper cannot find servlet class beans.TestServlet


      <web-app>
      <display-name>package-web</display-name>

      <servlet-name>TestServlet</servlet-name>
      <servlet-class>beans.TestServlet</servlet-class>

      <servlet-mapping>
      <servlet-name>TestServlet</servlet-name>
      <url-pattern>/TestServlet</url-pattern>
      </servlet-mapping>
      </web-app>