I want to get some static field of the the Server object. such as a servlet get some information fo the tomcat or the app server. Does anyone have some idea?
My app Server integrates with tomcat. there is a ServerAdmin.java public class ServerAdmin {
static ConcurrentHashMap servers = new ConcurrentHashMap(); ...... }
I have a serverlet HttpServerServlet.java I want to use ServerAdmin.servers in the Servlet,but it always is empty. When I run the app Server in Jbuilder, the Servlet can get the ServerAdmin.servers Do I make it clear ?