5 Replies Latest reply on May 12, 2003 9:15 PM by rex0y

    Can't deploy servlet in JBoss3.2 and Tomcat

    jc Newbie

      All,

      I can't seem to deploy a very simple servlet into the JBoss3.2 Tomcat bundle.

      I've created a test.war file that included a web.xml
      along with a servlet class and a JSP (test.jsp).

      The web.xml file looked something like this.

      <web-app>

      <servlet-name>HelloWorld</servlet-name>
      <servlet-class>com.me.HelloWorld</servlet-class>


      <servlet-mapping>
      <servlet-name>HelloWorld</servlet-name>
      <url-pattern>/test/HelloWorld</url-pattern>
      </servlet-mapping>
      </web-app>

      I don't see why this is failing. I'm trying to access my
      servlet like this.

      http://localhost:8080/test/HelloWorld

      The odd thing is that I can access my jsp just fine
      by using http://localhost:8080/test/test.jsp

      I'm deploying this in the default deploy directory
      under the server directory. Any help is appreciated.