| Tomcat Directories | |
|---|---|
| Directory | Use |
| 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/docs | Where to extract the documentation tar file. |
| 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 (Java Data Base Connectivity) drivers. |
| work | Where Tomcat puts the *.java and *.class files it generates from the *.jsp files. |
|
|
You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) |
| http://mindprod.com/jgloss/tomcat.html | J:\mindprod\jgloss\tomcat.html | |
![]() | Please email your feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording,
broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.179.214] | |
| Feedback | You are visitor number 15,615. | |