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
Win a copy of
video training course this week in the
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..
I agree. Here's the link:
subject: Why Init() method
init() vs constructor
init() method doubt?
How does servlet decide which init method to call
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-2015