This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Doubt of ServletContextListner " Watch "Doubt of ServletContextListner " New topic

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
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62139

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
I agree. Here's the link:
subject: Doubt of ServletContextListner