You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Assaf Flatto <as...@atelis.net> on 2006/12/27 12:02:20 UTC

Generating Autoindex in Tomcat

Hello

I am running tomcat 5.5.17 and i want to generate an auto index for the 
applications located on my server so i can pick which one i want to work 
with.

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.)

Is there a directive for that in Tomcat ?


Assaf


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Generating Autoindex in Tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Assaf Flatto [mailto:assaf@atelis.net] 
> 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@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org