Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Where should I place my beans and servlets under Tomcat?

beans servlets Tomcat
0
10 Posted

Where should I place my beans and servlets under Tomcat?

0
10

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123