This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jspInit and jspDestroy" Watch "jspInit and jspDestroy" New topic

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


subject: jspInit and jspDestroy
Similar Threads
jspInit() and jspDestroy()
Can I write a method in a jsp page
JSP Page source - Doubt?
jspInit() or jsp_init()?