tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Setting listings=true on a per context basis
Date Tue, 07 Dec 2010 11:24:45 GMT
On 07/12/2010 10:27, Fergus McMenemie wrote:
>
> Beginner Question!
>
> I have a c:/tomcat/conf/catalina/localhost/vendoraDocs.xml which
> contains two lines:-
>
> <Context docBase="D:\vendora\Docs">
> </Context>
>
> The defaultServlet as defined within c:/tomcat/conf/web.xml
> has listings=false which suites fine for most cases. But for vendora
> I need listings=true. How do I turn listings on for just this one
> context?

Redefine the default servlet in your webapp and set listings=true.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message