File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Regarding ClassLoader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Regarding ClassLoader " Watch "Regarding ClassLoader " New topic
Author

Regarding ClassLoader

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

Can somebody explain me how the very first class is loaded in the system in a web application where there is no 'main' method in application code?


Thanks& Regards,

Kousik


Thanks in Advance,
Kousik
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
The web container's bootstrap constructs a class loader which loads the container's internal classes and starts the container. Subsequently, application classes will be loaded by application class loaders.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
 
GeeCON Prague 2014
 
subject: Regarding ClassLoader