The Life Cycle of a Servlet

This section assumes that you've downloaded Sun's JSDK and installed and started Apache's Jakarta Tomcat. If you're using a different server you might need to modify these instructions somewhat, but the principles of servlet operation remain the same.

For the latest documentation on application development under Tomcat, read http://TOMCAT_HOME/src/doc/appdev/index.html. That manual shows you how to use the Java-centric build environment, Ant, to manage your servlet development.

Note

If you're serious about developing software, take the time to download the complete Ant installation kit, which includes developer documentation, at http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/appdev/index.html.

You'll also ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.