> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] > Subject: directory listing using context.xml
> If you want to create a web app that shows nothing more > than a directory listing, you use the docBase attribute > of context.xml in META-INF for your web app? You don't need a <Context> element at all for this. BTW, the docBase attribute is not allowed when the <Context> element is in META-INF/context.xml. > You would also need a default servlet and mapping in web.xml > that enables directory listing. Yes, you'll need to copy the <servlet> declaration for the DefaultServlet class from conf/web.xml into your own WEB-INF/web.xml, change the <servlet-name> to something unique, set the listings parameter to true, and add a mapping for the new servlet-name. > Sorry for the two questions in one day. No problem. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org