| bin |
Executables, startup.bat, shutdown.bat
and *.sh files to control taking Tomcat up and down. |
| conf |
*.policy, *.properties and *.xml
files to configure Tomcat. |
| lib |
*.jar files. |
| logs |
logs of what Tomcat did. |
| temp |
temporary work space. |
| webapps |
Has a tree structure like the equivalent statically-served web pages.
Instead of *.html files, it mostly has *.jsp
files. Also contains *.html, *.gif,
*.png, *.jpg, *.svg
etc. files served statically. |
| webapps/ROOT/WEB-INF/web.xml |
The Web Application Deployment Descriptor for your application. This is a *.xml
file describing the Servlets and other components that make up your application,
along with any initialization parameters and container-managed security
constraints that you want the server to enforce for you. This lets your clients
use short simple names to invoke your Servlets, which may have long qualified
names. |
| webapps/ROOT/WEB-INF/classes |
contains any Java class files (and associated resources) required for your
application, including both Servlet and non-Servlet classes, that are not
combined into *.jar files. This includes your Java
source to handle your custom tags. If your classes are organized into Java
packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/.
For example, a Java class named com.mindprod.practice.
MyServlet would need to be stored in a file named /WEB-INF/classes/com/mindprod/practice/
MyServlet.class. |
| webapps/ROOT/WEB-INF/jsp |
contains *.tld taglib descriptor files. |
| webapps/ROOT/WEB-INF/tags |
contains *.tag files. |
| webapps/ROOT/WEB-INF/lib |
Contains *.jar files that contain Java class files
(and associated resources) required for your application, including third party
class libraries or JDBC drivers. |
| work |
Where Tomcat puts the *.java and *.class
files it generates from the *.jsp files. |