| Author |
how do I read the contents of the context.xml file?
|
Enrico Ascaruta Tangau
Greenhorn
Joined: Aug 23, 2010
Posts: 10
|
|
Hello everyone,
looking through your post I could not find the answer ...
I'm working on a web application under Tomcat 5.5 and I need to create a page to show (read only) configuration data of the web-server and database (server version, driver version in use, address the db, etc. ), just like the page of "tomcat administration tool".
someone kindly good advice? :-)
Meanwhile I was tempting on this road:
I've already reached out to other purposes for a method to encapsulate the data in a XML file into a bean, but I can not retrieve the path to the context.xml, how can I do?
thaks, bye!
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14475
|
|
Tomcat has a thing called the "Management EJB". Check it out.
Also, Tomcat supports JMX.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: how do I read the contents of the context.xml file?
|
|
|