1.9. Deployment Directories for Default Web Application: Summary

The following subsections summarize the way to deploy and access HTML files, JSP pages, servlets, and utility classes in Tomcat, JRun, and ServletExec. The summary assumes that you are deploying files in the default Web application, have changed the port number to 80 (see Section 1.3), and are accessing servlets through the default URL (i.e., http://host/servlet/ServletName). Later chapters explain how to deploy user-defined Web applications and how to customize the URLs. But you’ll probably want to start with the defaults just to confirm that everything is working properly. The Appendix (Server Organization and Structure) gives a unified summary of the directories used by Tomcat, ...

Get More Servlets and JavaServer Pages™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.