• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we call destroy() method inside service()

 
Mohan Karthick
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

What happend if we all destroy() method?


rgds
'
Mohan
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't call destroy.
The servlet container does.

The destroy method is a place for you to put your clean-up code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic