c******n 发帖数: 4965 | 1 for regular servlet, I guess you could declare context listener:
http://docs.oracle.com/javaee/5/api/javax/servlet/ServletContex
but for Spring MVC, would spring make this easier?
furthermore, if I define a context listener, let's say I would need to
access the beans defined before in my servlet.xml or applicationContext.xml,
how could I get access to them?
Thanks |
|