Tomcat server xml parsing


General J2EE: Tomcat server xml parsing

  1. Tomcat server xml parsing (1 messages)

    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.
  2. Re: Tomcat server xml parsing[ Go to top ]

    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.