2.10 Deployment Directories for Default Web Application: SummaryThe following subsections summarize the way to deploy and access HTML files, JSP pages, servlets, and utility classes in Apache Tomcat, Macromedia JRun, and Caucho Resin. The summary assumes that you are deploying files in the default Web application, have changed the port number to 80 (see Section 2.3), and are accessing servlets through the default URL (i.e., http://host/servlet/ServletName ). Section 2.11 explains 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, JRun, and Resin for both the default Web application and custom Web applications. If you are using a server on your desktop, you can use localhost for the host portion of each of the URLs in this section. TomcatHTML and JSP Pages
Individual Servlet and Utility Class Files
Servlet and Utility Class Files Bundled in JAR Files
JRunHTML and JSP Pages
Individual Servlet and Utility Class Files
Servlet and Utility Class Files Bundled in JAR Files
ResinHTML and JSP Pages
Individual Servlet and Utility Class Files
Servlet and Utility Class Files Bundled in JAR Files
|