Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jspDestroy method query

 
Ashu Jain
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per Marcus Green notes -
"The jspDestroy method is little like the finalize method in a plain old java class, in that you cannot be certain exactly when it will run"

My understanding from the above line is -
(A) Both are invoked once and usually used to release resources.This is true
(B) It is not certain for when both will run. True for jspDestroy as well. Please confirm if this is true

I know that there is no guarentee of whether finalize will ever run as well. Does that hold true for jspDestroy method as well.

Please clarify.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic