| Author |
Not using Maiin()
|
Anto Telvin
Ranch Hand
Joined: Aug 12, 2008
Posts: 113
|
|
I understood that every servlet is a java class only ..But why we are not using any main() to start the loading of class ? Thanks
|
Anto Telvin Mathew<br />Many of the life failures are people who did not realize how close they were to success when they give up. EDISON
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
main() is used to start applications, not servlets. P.S. please fix the typo in your subject. [ August 14, 2008: Message edited by: Bear Bibeault ]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
benjamin muktesh
Greenhorn
Joined: Jul 01, 2008
Posts: 24
|
|
The main() method acts as an entry point to the java program. The servlet container takes care of this in case of a servlet. Do a bit of reading on java class loaders.
|
 |
 |
|
|
subject: Not using Maiin()
|
|
|