0 Replies Latest reply on May 20, 2003 9:55 AM by Wayne L. Andersen

    Servlet mapped files do not deploy

    Wayne L. Andersen Newbie

      If I add a servlet mapping in my web.xml file like

      <servlet-mapping>
      <servlet-name>bidman</servlet-name>
      <url-pattern>*.do</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>velocity</servlet-name>
      <url-pattern>*.vm</url-pattern>
      </servlet-mapping>

      Then any file with that extension does not get deployed. For example

      If I have a file called test.vm in a directory under my context
      http://localhost:8080/bidman/test.vm, but no servlet mapping the file is available.

      If I then add the servlet mapping entry the file
      http://localhost:8080/bidman/test.vm does not get deployed to the server at all.

      Just wondering if anyone else has run accross this behavior.

      I am running Jboss Tomcat 3.2.1.