A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: why don't we use main() in Servlet,Jsp?
MVC - Controller
difference between jsp and servlet
Diff Between Servlet and JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014