Shouldnt the code that creates the directories dynamically also make the 
decision of whether the directory is browse-able  or not ? Depending on 
that, then it can copy a default file into each of these directories.

-- padhu



adi wrote:

>new directories are being created dynamically and they should be browsable.
>all the rest shouldnt be
>thats why I can not put index.htm file in every directory
>Any suggestions?
>
>Adi
>
>-----Original Message-----
>From: Sexton, George [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 19, 2002 2:21 PM
>To: Tomcat Users List
>Subject: RE: How to block listings on a SPECIFIC directory
>
>
>Hmmm... Why don't you put a file like "index.html" in the directory?
>Assuming you have a welcome files list in your web.xml file, this will be
>displayed. You can then put up a message, and re-direct to where you want
>them to be.
>
>George Sexton
>MH Software, Inc.
>Home of Connect Daily Web Calendar Software
>http://www.mhsoftware.com/connectdaily.htm
>Voice: 303 438 9585
>
>
>-----Original Message-----
>From: adi [mailto:[EMAIL PROTECTED]]
>Sent: 19 September, 2002 6:49 AM
>To: [EMAIL PROTECTED]
>Subject: How to block listings on a SPECIFIC directory
>
>
>Hello,
>
>I am trying to enable listing on one directory ( and its children)
>only.
>the listings parameter set to false or true will affect everything.
>is it possible in any way to define "listings" to individual directories in
>my webapp?
>
>Adi
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to