Where should I place my beans and servlets under Tomcat?
Location: http://www.jguru.com/faq/view.jsp?EID=86687 Created: Jun 25, 2000 Modified: 2000-06-25 09:27:39.047 Author: Govind Seshadri (http://www.jguru.com/guru/viewbio.jsp?EID=14) Question originally posed by Peter Tsang (http://www.jguru.com/guru/viewbio.jsp?EID=83305 Where you place the beans and servlets depends on which “application” it belongs to. Assuming that you are running your JSP pages under the default “examples” application, you should place your servlets under the path /tomcat/examples/WEB-INF/classes Your beans should be placed under /tomcat/examples/WEB-INF/jsp/beans Both these paths are placed within CLASSPATH by Tomcat’s startup script file.