Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Generating Autoindex in Tomcat

Caldarale, Charles R

2006-12-27

Replies:

> From: Assaf Flatto [mailto:assaf@(protected)]
> Subject: Generating Autoindex in Tomcat
>
> basically what i want is like this , in directory foo i have 3
> applications , i want the tomcat to present a page listing the
> "applications" ( file names) and when i add or remove an
> application it will know this automatically ( similar to the
> auto index in apache.)

If you're referring to true webapps (as defined by the servlet spec),
Tomcat's built-in manager app will do this for you. If you're talking
about arbitrary files that are just part of some webapp, you'll need to
write a simple monitoring servlet to watch for changes (someone has
probably already done this, of course).

- 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 start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.