I need to build an application which parse the server.xml Tomcat configuration file in order to retrieve some informations like the server port, contexts, ... Before starting to build a parser (maibe using the server.xml DTD and JAXB technology) I woul like to try using the Tomcat classes (I suppose there is at least one class that do this job). Somebody could help me ? Thanks in advance, Mauro.
- Posted by: Mauro Garlaschelli
- Posted on: October 26 2006 04:14 EDT
Please download the source of Tomcat and hunt for the java/class file inside. That might help you at this point. If anything new, will post it here.