The moose likes Spring and the fly likes ContextLoaderListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "ContextLoaderListener" Watch "ContextLoaderListener" New topic


Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
I remember using a ContextLoaderListener when i had to implement Spring Security. May i know why do we need ContextloaderListener?

Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

its a simple ContextListener which you use in web applications to initialize your Spring configurations on application startup...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Don't get me started about those stupid light bulbs.
subject: ContextLoaderListener
Similar Threads
Initialization through Spring
Relation between ContextLoaderListener application context and WebApplicationContext
ContextLoaderListener in web.xml
Servlet Context and Servlet
DispatcherServlet vs ContextLoaderListener?