File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Ken Zrobok's notes (JSP) pg 39-40 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Ken Zrobok Watch "Ken Zrobok New topic
Author

Ken Zrobok's notes (JSP) pg 39-40

Goan Balchao
Ranch Hand

Joined: Mar 25, 2002
Posts: 93
Life cycle methods.
When the container is done with the page the _jspDestroy method is called. This actaully gives the impression that the _jspDestroy is called when the container finishes processing the page.
Actually, according to what I have read, the jspDestroy (an not _jspDestroy -- whai is the diference if any? ) is called only when the container removes the instance(of the JSP page implementation class) from service.
Please correct me if I am wrong.


Hemant Kamat<br />SCJP2<br />SCWCD<br />SCBCD<br />SCEA-I
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
think like this then: when the container removes the instance of a page its said that the container is done with the page... It is just like in "when I am done with you..."
 
 
subject: Ken Zrobok's notes (JSP) pg 39-40
 
Threads others viewed
jspInit()
template text
Is it necessary to restart the server each time before running , when using JSTL?
Doubt on Jsp methods that are invoked by servlet container
jspDestroy()
developer file tools