ServletContextListeners are invoked in
A. Random order
B. contextInitialized and contextDestroyed are invoked in the order in which they are declared in the web.xml
C. contextInitialized method are invoked in the order in which they are declared in the web.xml and the contextDestroyed method is invoked in the reverse order in which they are declared in the web.xml
D. contextInitialized and contextDestroyed are invoked in the reverse order of which they are declared in the web.xml
Correct Answer: C
沒有留言:
張貼留言