Vijay Kumar
jspInit() in jsp
1 Answer(s)      6 years and 3 months ago
Posted in : JSP-Interview Questions

What is the jspInit() method?


View Answers

October 29, 2010 at 12:19 PM

The jspInit() method of the javax.servlet.jsp.JspPage interface is similar to the init() method of servlets. This method is invoked by the container only once when a JSP page is initialized. It can be overridden by a page author to initialize resources such as database and network connections, and to allow a JSP page to read persistent configuration data.

Related Tutorials/Questions & Answers: