See the Servlet Specification. Your web application must follow certain rules so that it can do things such as finding the classes. Your class files must be in a package other than the default, and must either be placed in the folder hierarchy under WEB-INF/classes, or zipped up into a jar file and placed in WEB-INF/lib.
The source (.java) files are not part of the application. [ April 15, 2006: Message edited by: Bear Bibeault ]