answers the singleton . at some point , the caller must populate the web servlet context . concode_field_sep ServletContextSingleton singleton concode_elem_sep ServletContext servletContext concode_field_sep ServletContext getServletContext concode_elem_sep void setServletContext
ServletContextSingleton function ( ) { if ( singleton == null ) { singleton = new ServletContextSingleton ( ) ; } return singleton ; }