File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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: 63534

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] [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
jQuery in Action, 3rd edition