Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Tremal Nailk
2005/8/2, Pham Anh Tuan <[EMAIL PROTECTED]>: > oh, I use > org.apache.struts.action.ActionServlet too, > everything runs okie :) > yes, you're right, I misunderstood Paul's mail. Now it's working for me too :) thanks -- TREMALNAIK -

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Pham Anh Tuan
oh, I use org.apache.struts.action.ActionServlet too, everything runs okie :) I use Tomcat 4.1 ... Pham - Original Message - From: "Tremal Nailk" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 3:59 PM Subject: Re: [HE

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Tremal Nailk
2005/8/2, Pham Anh Tuan <[EMAIL PROTECTED]>: > Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ? I mean, Paul's example is valid for Catalina DefaultServlet: org.apache.catalina.servlets.DefaultServlet as you can see here: http://jakarta.apache.org/tomcat/tomcat-

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Pham Anh Tuan
Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ? - Original Message - From: "Tremal Nailk" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 3:30 PM Subject: Re: [HELP] How can deny acces

Re: [HELP] How can deny access to folders at web app root

2005-08-02 Thread Tremal Nailk
2005/8/2, Paul Benedict <[EMAIL PROTECTED]>: > >listings > --> false > I think it's useful, but it doesn't work for Strut's ActionServlet. Is there an easy equivalent for it, beside using filters? Thanks, -- TREMALNAIK --

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread Pham Anh Tuan
oh, hi "d" :) If you could, plz show me how to restrict by Servlet-Filter. thanks to you Pham - Original Message - From: "d d" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 12:32 PM Subject: Re: [HELP] How c

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread d d
  hi Pham , If u r clear with the concepts of Srevlets..u can use Servlet-Filters to ristrict access to perticular folders on ur application. Another way is to Use Tomcat configuration to whether show user the Directory list. See if this helps u out. Best Luck On Tue, 02 Aug 2005 Pham Anh Tuan

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread Pham Anh Tuan
Pham - Original Message - From: "Paul Benedict" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, August 02, 2005 11:17 AM Subject: Re: [HELP] How can deny access to folders at web app root Pham, Go into your Tomcat/conf directory and edit the de

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread Paul Benedict
Pham, Go into your Tomcat/conf directory and edit the default web.xml. You want to turn directory listings off from the default servlet: default org.apache.catalina.servlets.DefaultServlet debug 0

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread Tamas Szabo
Hi, Pham Anh Tuan wrote: Hi all :) I use Tomcat and Struts framework to build my web app. I lay jsp document file at web app root.Such as cart and user. something like: /cart /user /WEB-INF/ When I run my web app, I could access /webapp/cart folder and /webapp/user folder from browser