RE: Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
ease contact the sender and delete the e-mail > and its attachments from all computers. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >

RE: Reading tomcat context.xml file from webapp

2010-05-06 Thread Caldarale, Charles R
> From: kgaekwad [mailto:karthik.gaek...@ni.com] > Subject: Re: Reading tomcat context.xml file from webapp > > one of these dependencies is the db, which is > configured in the context.xml file You can also use JMX to access numerous attributes maintained by Tomcat. Enab

Re: Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
xtXmlFile = "..."; > File contextXmlFile = new File(pathToContextXmlFile); > > Why would you want to do such a thing? > > > p > > > > > -- View this message in context: http://old.nabble.com/Reading-tomcat-context.xml-file-from

Re: Reading tomcat context.xml file from webapp

2010-05-06 Thread Pid
On 06/05/2010 16:30, kgaekwad wrote: > > Hello, > > Is there a way to read the context.xml stored in /conf/ folder from a > webapplication? String pathToContextXmlFile = "..."; File contextXmlFile = new File(pathToContextXmlFile); Why would you want to do such a thing? p signature.asc D

RE: Reading tomcat context.xml file from webapp

2010-05-06 Thread Caldarale, Charles R
> From: kgaekwad [mailto:karthik.gaek...@ni.com] > Subject: Reading tomcat context.xml file from webapp > > Is there a way to read the context.xml stored in /conf/ > folder from a webapplication? You can issue normal Java I/O requests to the file system path, but ... Why

Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
Hello, Is there a way to read the context.xml stored in /conf/ folder from a webapplication? Thank you! -K -- View this message in context: http://old.nabble.com/Reading-tomcat-context.xml-file-from-webapp-tp28475444p28475444.html Sent from the Tomcat - User mailing list archive at