how do I read the contents of the context.xml file?
Enrico Ascaruta Tangau
Joined: Aug 23, 2010
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?