You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jayaraman Dorai <ja...@Wellogic.com> on 2003/05/20 23:51:06 UTC

[OT] Initialization with servlet context listener

We are currently initializing the static global data in the init() of a servlet which loads on container startup. Read in this list that servlet context listener's is a better alternate.
 
Would like to know what is the drawback with the servlet's init() method  and advantages of using servlet context listener.
 
Thanks
Jayaraman