aspose file tools
The moose likes Servlets and the fly likes Doubt of ServletContextListner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Doubt of ServletContextListner " Watch "Doubt of ServletContextListner " New topic
Author

Doubt of ServletContextListner

Abhay Choubey
Ranch Hand

Joined: Jun 02, 2011
Posts: 34
Hi all,

I have studyed about ServletContextListner but still i have doubt that why we use ServletContextListner and what is advantage of it.
can any one help me please

Thanks in advance
Abhay
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63033
    
  69

It can be used to set up anything that needs to be set up when the app is put into service, and to perform cleanup when the app is taken out of service.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Abhay Choubey
Ranch Hand

Joined: Jun 02, 2011
Posts: 34
i got it.

Thanks a lot
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Doubt of ServletContextListner
 
It's not a secret anymore!