This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

destroy( ) method  RSS feed

 
Ananth Ram
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What happens if I call destroy( ) when init( ) is called ??


Tx,
Karthik
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing will happen. destroy() is called by the container when servlet is going to destroy. It is the place provided to the developer to cleanup the resources used.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!