Re: Getting Tomcat to not list directories
"David M. Karr" <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "joe" == joe user <[email protected]> writes: joe> Hello Servletists, joe> It seems that in its default configuration, Tomcat joe> lists directories. This isn't exactly what I want it joe> to do. I assume there must be an easy way to stop it joe> from doing this, but I couldn't find anything in the joe> docs. Any suggestions? Apparently, this is done in the "conf/web.xml" file, in the "listings" parameter for the DefaultServlet. Look in that file and you'll see some minimal documentation for it. I have no idea if this is documented elsewhere. -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ [email protected] ; SCJP; SCWCD ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html