tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <>
Subject The time to call populateSessionTrackingModes() in ApplicationContext
Date Thu, 17 Dec 2009 03:15:51 GMT
    Currently, the populateSessionTrackingModes() method is called in the
constructor of ApplicationContext, but the codes in the
populateSessionTrackingModes() would check the parent of StandardContext.
I wonder whether it would be more reasonable to add an init method for the
ApplicationContext, and call the ApplicationContext.init while starting
StandardContext. For while the ApplicationContext is created via
StandardContext.getServletConext() method, the StandardContext may not be
added to the whole Tomcat tree.
    Any comment ? Thanks !

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message