RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
Nevermind my last mail, you responded while I was typing. I will look into ServletContextInitializer. Thanks, Xavier > From: kal...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: Default web.xml for all webapps of a specific Host &g

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
> From: kal...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: Default web.xml for all webapps of a specific Host > Date: Thu, 16 May 2013 16:55:55 +0200 > > Ok, I checked with only listeners and filter-mappings (whose order m

Re: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Mark Thomas
On 16/05/2013 15:55, Xavier Dury wrote: > Ok, I checked with only listeners and filter-mappings (whose order matters) > and the resulting order is the following (from top to bottom in effective > web.xml): > > 1: main web.xml > 2: global web.xml > 3: host web.xml.default > > So is it possible t

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
x27;s no harm in asking =) Thanks, Xavier > Date: Thu, 16 May 2013 15:01:28 +0100 > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: Default web.xml for all webapps of a specific Host > > On 16/05/2013 14:47, Xavier

Re: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Mark Thomas
On 16/05/2013 14:47, Xavier Dury wrote: > I tried adding a $CATALINA_BASE/conf/[enginename]/[hostname]/web.xml.default > and checked what was the resulting web.xml with logEffectiveWebXml="true". I > noticed that the order of the various elements (filter, servlets...) appeared > as: > > 1. con

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
00 > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: Default web.xml for all webapps of a specific Host > > On 16/05/2013 09:55, Xavier Dury wrote: >> Thanks, I didn't find any reference to web.xml.default in the doc. Maybe, I >> wasn't looking

Re: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Mark Thomas
e welcome. Mark > > Regards, > > Xavier > > >> Date: Thu, 16 May 2013 09:49:34 +0100 >> From: ma...@apache.org >> To: users@tomcat.apache.org >> Subject: Re: Default web.xml for all webapps of a specific Host >>

RE: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
t: Re: Default web.xml for all webapps of a specific Host > > On 16/05/2013 09:40, Xavier Dury wrote: >> Hi, >> >> Is it possible to have a default web.xml that will be loaded for all >> applications inside a Host? >> >> The doc states this is possible for

Re: Default web.xml for all webapps of a specific Host

2013-05-16 Thread Mark Thomas
On 16/05/2013 09:40, Xavier Dury wrote: > Hi, > > Is it possible to have a default web.xml that will be loaded for all > applications inside a Host? > > The doc states this is possible for context.xml which is computed from: > > - $CATALINA_BASE/conf/context.xml > - $CATALINA_BASE/conf/[engin

Default web.xml for all webapps of a specific Host

2013-05-16 Thread Xavier Dury
Hi, Is it possible to have a default web.xml that will be loaded for all applications inside a Host? The doc states this is possible for context.xml which is computed from:  - $CATALINA_BASE/conf/context.xml  - $CATALINA_BASE/conf/[enginename]/[hostname]/context.xml.default  - /META-INF/context