Locations for Files in the Default Web Application
This section summarizes where you place files when you are not using custom Web applications (i.e., when first testing things out). Note that the URLs cited assume that you have changed your server’s port to 80 as described in Section 1.3.
Individual Classes that Do Not Use Packages
Tomcat.
install_dir/webapps/ROOT/WEB-INF/classes
JRun.
install_dir/servers/default/default-app/WEB-INF/classes
ServletExec.
install_dir/Servlets
Corresponding URL.
http://host/servlet/ServletName
Individual Classes That Use Packages
Tomcat.
install_dir/webapps/ROOT/WEB-INF/classes/packageName
JRun.
install_dir/servers/default/default-app/WEB-INF/classes/
packageName
ServletExec Directory.
install_dir/Servlets/packageName
Corresponding ...
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.