On 26/02/2010 08:27, Ivan Longhi wrote:
hi christopher,
On Thu, Feb 25, 2010 at 9:33 PM, Christopher Schultz
wrote:
You shouldn't declare elements within conf/server.xml in any
currently-supported version of Tomcat. Instead, put everything you need
in your webapp's META-INF/context.xml file.
hi christopher,
On Thu, Feb 25, 2010 at 9:33 PM, Christopher Schultz
wrote:
> You shouldn't declare elements within conf/server.xml in any
> currently-supported version of Tomcat. Instead, put everything you need
> in your webapp's META-INF/context.xml file. Remember that "path" and
> "docBase"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ivan,
On 2/25/2010 9:14 AM, Ivan Longhi wrote:
> this should be the solution (and one more little question at the end of code):
>
> conf/web.xml
>
>
>default
>
> org.apache.catalina.servlets.DefaultServlet
>
>
> From: Ivan Longhi [mailto:ivan.lon...@gmail.com]
> Subject: Re: listing directory content outside tomcat root
>
> is org.apache.catalina.servlets.DefaultServlet
> the right solution?
Yes.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> From: Tim Funk [mailto:funk...@apache.org]
> Subject: Re: listing directory content outside tomcat root
>
> Since the default servlet is declared in conf/web.xml - its inherited
> in *every* webapp. So its config is also inherited. (Bummer)
Not a bummer at all - it's a ver
ops
is useless
On Thu, Feb 25, 2010 at 3:14 PM, Ivan Longhi wrote:
>
>
>
--
ciao,
ivan
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...
thanks!!!
this should be the solution (and one more little question at the end of code):
conf/web.xml
default
org.apache.catalina.servlets.DefaultServlet
listings
false
conf/server.xml
.
Enable listings is "sort of"** a global setting.
Since the default servlet is declared in conf/web.xml - its inherited in
*every* webapp. So its config is also inherited. (Bummer)
BUT - if you add a WEB-INF/web.xml to EVERY webapp with the default
servlet settings - then you can remove the de
hi,
I would like to list the content of a directory outside tomcat root
without enabling the listings parameter in default servlet.
conf/web.xml
default
org.apache.catalina.servlets.DefaultServlet
listings
false