Hi Michael,

Thanks, so, I need to add this servlet as part of handlers to my webapp or 
is it automatically
added when I create an instance of  webAppContext?

Thanks,

Ike



From:   Michael Gorovoy <[email protected]>
To:     JETTY user mailing list <[email protected]>
Cc:     Ike Ikonne/Dallas/IBM@IBMUS, [email protected]
Date:   04/15/2011 10:51 AM
Subject:        Re: [jetty-users] How can I prevent Directory Listing in 
WebAppContext
Sent by:        [email protected]



This feature is controlled by dirAllowed parameter of 
org.eclipse.jetty.servlet.DefaultServlet.

-Michael

On Fri, Apr 15, 2011 at 11:44 AM, Ike Ikonne <[email protected]> wrote:
Hi all, 

I am running Jetty in embedded mode and I have a WebAppContext; I would 
like to block users 
of this app from browsing directories in this app, is there a way that I 
can programmatically do that? 
I have looked through the WebAppContext but there doesn't seem to be 
anyway to do it from that. 

Thanks, 

Ike 


_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users


_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to