Hi,
Add a listings parameter to the DefaultServlet in conf/web.xml with a
param-value of false.  IIRC.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Paul Taylor [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 09, 2004 7:00 AM
>To: Tomcat Users List
>Subject: Preventing users getting accessing to directory contents in
Tomcat
>
>Under tomcat 4 my jsps are held in a subdiir called jsp which contains
>further subdirectories
>What do I put into web.xml to stop requests such as
>http//localhost:8080/myapp/jsp or http//localhost:8080/myapp/jsp/info
>listing the contents of the directory.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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

Reply via email to