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

Re: Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
else I could call. But that works pretty well :-) Thanks! Pid * wrote: 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

RE: Reading tomcat context.xml file from webapp

2010-05-06 Thread kgaekwad
Interesting. This is the first time I've played around with JMX, and it looks pretty neat. I see the parameter I'm looking for; I'll just need to figure out how to programmatically parse it. Thank you! n828cl wrote: From: kgaekwad [mailto:karthik.gaek...@ni.com] Subject: Re: Reading