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

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: vivek gupta [mailto:[EMAIL PROTECTED]
>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 www.abc.com/root/.
>
>But my problem is if I put
>
>www.abc.com/root/jsp 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
>www.abc.com/root/jsp
>
>he get unauthorised access or page can not be
>displayed kind message.
>
>Thanks in advance
>Vivek
>
>
>
>_______________________________
>Do you Yahoo!?
>Declare Yourself - Register online to vote today!
>http://vote.yahoo.com
>
>---------------------------------------------------------------------
>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