jQuery in Action, 2nd edition*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jspInit and jspDestroy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jspInit and jspDestroy" Watch "jspInit and jspDestroy" New topic
Author

jspInit and jspDestroy

Kevin DesLauriers
Ranch Hand

Joined: Nov 28, 2005
Posts: 43
Are jspInit and jspDestroy not automatically created when the JSP page is translated into a servlet? I know I can redefine them if I choose using <%! ... %> and that will force them to be present.
madhav changala
Ranch Hand

Joined: Dec 20, 2005
Posts: 57
Hello kevin

It Will automatically created,, that is the job of the container.. it will vary from vendor to vendor.. but the main content is same.. initilizing the implicit objects etc..


For your advice.. your question should be more clear .. what you need ..?

All the best


Regards


saivenumadhav
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jspInit and jspDestroy
 
Similar Threads
jspInit() and jspDestroy()
Can I write a method in a jsp page
JSP Page source - Doubt?
Scriptlets
jspInit() or jsp_init()?