| Author |
constructors in servlets
|
sandy sean
Ranch Hand
Joined: Dec 30, 2010
Posts: 62
|
|
Hi!
Why there are no constructors in servlets?
thanks...
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
There are. Servlets are just like any other Java class. Constructors just aren't particularly useful in servlets as the init() life-cycle method is used to initialize a servlet.
This has been covered many times before. Please SearchFirst.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: constructors in servlets
|
|
|