File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Why Init() method
Joined: Aug 02, 2006
Sep 14, 2006 01:53:00
I have a basic question. Why there is a Init method in
. Can't we have a constructor do what Init method does ?
Joined: Jun 10, 2004
Sep 14, 2006 03:42:00
This question is already answered
Joined: Nov 29, 2005
Sep 14, 2006 07:17:00
servletConfig and servletContext are not available in constructor..
Don't get me started about those stupid
subject: Why Init() method
How does servlet decide which init method to call
init() method doubt?
init() vs constructor
init missing in servlet
difference b/w init() and init( config)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014