A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
why don't we use main() in Servlet,Jsp?
Joined: Aug 29, 2007
Jan 07, 2008 02:26:00
why don't we use main() in
Joined: Mar 22, 2005
Jan 07, 2008 02:38:00
"main" is a method called when Java classes are invoked using the "java" executable. Since
and JSPs are invoked by the servlet container through the lifecycle methods defined in the Servlet interface, there is no place for it.
Ping & DNS
- my free Android networking tools app
subject: why don't we use main() in Servlet,Jsp?
difference between jsp and servlet
MVC - Controller
Diff Between Servlet and JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014