Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt of ServletContextListner

 
Abhay Choubey
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64822
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Abhay Choubey
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it.

Thanks a lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic