Under what server.xml configuration is that true? Because when I deploy my
app, tomcat uses artifactId-version as the context instead of my config in
META-INF/context.xml
On 25 Jan 2015 06:22, "Konstantin Kolinko" <knst.koli...@gmail.com> wrote:

> 2015-01-25 7:39 GMT+03:00 杨华杰 <yhj...@gmail.com>:
> > Now I have context.xml in three locations:
> >
> > A:  in app: meta-info/context.xml
> > B:  in conf: context.xml
> > C:  in conf/Catalina/**.xml  --->> seems like no longer copied to here.
> >
> >
> > If I am going to define the same resources in these context.xml, which
> one
> > will going to take effect eventually.
> >
> >
> > I could try it myself but I would like a official answer and it
> consistent
> > in further version.
>
>
> C is used,
>
> A is ignored when C is present, the file name is META-INF/context.xml
> (proper naming mappers, case-sensitively)
>
> B provides defaults for all web applications.
>
> The docs are out there... (config/context.html).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to