1 Reply Latest reply on Dec 17, 2002 5:20 AM by coffee

    servlet - jetty ok, tomcat no

    coffee

      Hi, I have a problem with servlet.

      Under jboss-jetty it works fine, under jboss-tomcat I get 404 error.

      I'd like to call "content" servlet, so this is my web.xml file for mapping.

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd">

      <web-app>


      <servlet-name>content</servlet-name>
      <servlet-class>content</servlet-class>


      <servlet-mapping>
      <servlet-name>content</servlet-name>
      <url-pattern>/content</url-pattern>
      </servlet-mapping>

      <session-config>
      <session-timeout>30</session-timeout>
      </session-config>

      </web-app>


      What about? If this is a faq where I can read about?