Hi all, I've added Tomcat's DefaultServlet to my web.xml and mapped it to a directory so that its files & subdirectories will be listed:
<servlet> <servlet-name>lister</servlet-name> <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>1</param-value> </init-param> <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>lister</servlet-name> <url-pattern>/maven/*</url-pattern> </servlet-mapping> When I request http://localhost:8080/maven in the browser, I get a standard Tomcat directory listing, but it's empty -- none of the files & subdirectories are listed even though they're present on the filesystem. Further, if I request http://localhost:8080/maven/bar (bar is a subdirectory under maven), I get a "404 not found" error. Environment is JDK 1.4.2_12, Tomcat 5.5.17 w/the JDK 1.4 compatibility package running on Win XP SP2. Can anyone help here? Thanks, Matthew -- View this message in context: http://www.nabble.com/DefaultServlet-not-listing-any-files-or-directories-tf2166581.html#a5989749 Sent from the Tomcat - User forum at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]