tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: How to save files being download
Date Fri, 22 Oct 2004 18:14:17 GMT

Change directoryListings to false for the DefaultServlet in
conf/web.xml, as explained in the Tomcat FAQ.

Yoav Shapira

>-----Original Message-----
>From: vivek gupta []
>Sent: Friday, October 22, 2004 2:07 PM
>To: Tomcat Users List
>Subject: How to save files being download
>Hi Folks,
>          I am testing my website at web hosting
>company which is using tomcat. I can see my
>application running if I type
>But my problem is if I put
> it show all my jsps which lying
>in jsp directory and let any one to download my file.
>I tested any my localhost to and it works same.
>Any one know how to prevent it. What setting needs to
>change so that if user types
>he get unauthorised access or page can not be
>displayed kind message.
>Thanks in advance
>Do you Yahoo!?
>Declare Yourself - Register online to vote today!
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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:
For additional commands, e-mail:

View raw message