| Chapter 2: First Servlets |
|---|
| Source Code in This Chapter |
|---|
|
|---|
| Order now |
HEAD section. Don't forget that your
CLASSPATH has to point to the top of your
package hierarchy as described on page 29. Otherwise you get an
"unresolved symbol: ServletUtilities" error message when compiling
HelloWWW3.java. Note that this is just the general Java approach
to using classes in packages, not anything servlet-specific.
install_dir/webpages/WEB-INF/web.xml.
In Tomcat 3.1, it would go in
install_dir/webapps/ROOT/WEB-INF/web.xml.
install_dir/webpages/WEB-INF/servlets.properties.
javac
when compiling/installing servlets in the coreservlets
package for Tomcat 3.0. I store it in somewhere in the
system PATH and call it servletc.bat.
Use this as an example
only, since it incorporates my specific directory settings.
javac
when compiling/installing servlets in the coreservlets
package for the JSWDK 1.0.1. I store it in somewhere in the
system PATH and call it servletc.bat.
Use this as an example
only, since it incorporates my specific directory settings.
javac
when compiling/installing servlets in the coreservlets
package for Java Web Server 2.0. I store it in somewhere in the
system PATH and call it servletc.bat.
Use this as an example
only, since it incorporates my specific directory settings.
| URLs in This Chapter |
|---|
| General |
|---|
|
|