A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 29, 2002
Jul 17, 2002 09:04:00
We know that the init() method is invoked at the very beginning of it's life cycle. I want to ask, who provide the init() method for a
, if we donot write it in our code?
Thanks in advance.
*** Rajib Prasad Sarma ***<br />==========================
Joined: May 24, 2001
Jul 17, 2002 09:07:00
An empty implementation is provided by javax.servlet.GenericServlet so that you dont have to implement it if you dont need to.
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
I agree. Here's the link:
subject: init() method
difference b/w init() and init( config)
Call destroy() inside init()
init of servlets and jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014