This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "ContextLoaderListener" Watch "ContextLoaderListener" New topic
Author

ContextLoaderListener

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?


$Hi/\bEr
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9435
    
  20

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ContextLoaderListener
 
It's not a secret anymore!