I have an application that needs to run under Tomcat.
I have installed Tomcat but I don't know where can I put the directory of the project.
Note: $CATALINA_HOME
is where Tomcat is installed.
If the application is a WAR file, just drop it in $CATALINA_HOME/webapps
and TC will automatically create the web app for you.
If you have all of the contents of the application, you must distribute as so:
The root path of your application: $CATALINA_HOME/webapps/newfolder
Define your web.xml file here: $CATALINA_HOME/webapps/newfolder/WEB-INF
Place compiled class files here: $CATALINA_HOME/webapps/newfolder/WEB-INF/classes
Place dependencies here: $CATALINA_HOME/webapps/newfolder/WEB-INF/libs
Reference for web.xml: http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html & http://wiki.metawerx.net/wiki/Web.xml