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
I found the problem, addind file:// in front of the resource base wroked.