Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


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


What is the jspInit() method?


Advertisement
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:
Advertisements
 

 

 

DMCA.com