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" <user@struts.apache.org>
Sent: Tuesday, August 02, 2005 12:32 PM
Subject: Re: [HELP] How can deny access to folders at web app root



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 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. All files in 2 folders above are listed.

I don't know there's any solution to deny access to cart and user folder? Should I configure Tomcat, do something like with httpd.conf file of Apache.

help me :(

Thanks for ur reading,

Pham



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

Reply via email to