1 Reply Latest reply on Apr 18, 2003 10:08 PM by difranr

    Http Configuration & Serving static content

      Folks,

      This is my first attempt at working with Jetty on JBoss. I am trying to add a static content handler for Jetty within Jboss 3.2.0. Per the Jetty FAQ, I added the following to the ConfigurationElement in jbossweb.sar/META-INF/jboss-service.xml, to serve static pages:




      /documents/*
      /docroot







      When I hit the URL: http://localhost:8080/documents/myfile.html, I
      get the standard HTTP ERROR: 404 /documents/myfile.html Not Found
      RequestURI=/documents/myfile.html error.

      Can you point me in the correct direction as to what I need to do?

      Thanks in advance,

      Ron