Hi, u wrote " ....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...." if it is shared by all application then sud i configure a context.xml inside META-INF of my web app..then ud it b common to all the application.?thne i must write it in the TOMCAT_HOME/conf/context.xml ,isn't it??? Nd one more thing Sir,For configuring Data Source(for pooling) in tomcat 5.5 we can configure it in server.xml using JNDI ..then why in TOMCAT_HOME/conf/context.xml ?
On 4/19/07, Andre Prasetya <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> 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 > -- -Andre- People see things the way they are and say "why ?" I see things that never were and say "Why not ?"