Thanks for that one.
Just one more question:
I assume there is some kind of overhead doing this
all the requests will be streamed through the filter etc.
It a serious problem?

Adi

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 2:10 PM
To: Tomcat Users List
Subject: Re: How to block listings on a SPECIFIC directory


More info:
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=servlet+filter

The definitive reference:
Java Servlet Specification 2.3 (at java.sun.com)
Chapter 6: Filters


adi wrote:
> what do you mean by writing a filter?
> In java?
> Entry in web.xml ?
>
> can you please reference me to some reading on 'filters' ?
>
> Thanks,
> Adi
>
>
> -----Original Message-----
> From: Tim Funk [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 19, 2002 1:53 PM
> To: Tomcat Users List
> Subject: Re: How to block listings on a SPECIFIC directory
>
>
> Nope  - but you can write a filter to detect that condition and deny
> access as desired.
>
> adi wrote:
>
>>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
>>
>>
>
>
>
> --
> 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]>


---
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]>

Reply via email to