tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Prasetya" <>
Subject Re: Context.xml in tomcat 5.5
Date Thu, 19 Apr 2007 05:58:10 GMT
the one at TOMCAT_HOME\conf\context.xml is the one that is loaded for all
application, you ll wanna use that if you have a global environment
variable. for example you need a DataSource (connection pool) that is shared
for all application. you can configure a context.xml inside META-INF of your
web app.

On 4/19/07, Avinash Kumar <> wrote:
> Hi all,
>   Thier is a file TOMCAT_HOME\conf\context.xml in tomcat 5.5 ,what we have
> to write in this xml file and when is this file needed,i made two sample
> web
> application in jsp and servets ,i just deployed those in webapps ,i se the
> java and tomcat home as required  and these application are running ,i
> just
> want to know that when we have to configure this file.
> Thanks


People see things the way they are and say "why ?" I see things that never
were and say "Why not ?"

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message