| Hongqing Liu | 7189829 | 2014-10-15 13:31:32 +0800 | [diff] [blame] | 1 | <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide (6.0.41) - Introduction</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">
 | 
| Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 2 | 			.noPrint {display: none;}
 | 
 | 3 | 			td#mainBody {width: 100%;}
 | 
 | 4 | 		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="
 | 
 | 5 |       The Apache Tomcat Servlet/JSP Container
 | 
| Hongqing Liu | 7189829 | 2014-10-15 13:31:32 +0800 | [diff] [blame] | 6 |     " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.41, May 19 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Application Developer's Guide</h1><h2>Introduction</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>
 | 
| Hongqing Liu | fd5ee81 | 2014-05-10 16:32:51 +0800 | [diff] [blame] | 7 | 
 | 
 | 8 | <p>Congratulations!  You've decided to (or been told to) learn how to
 | 
 | 9 | build web applications using servlets and JSP pages, and picked the
 | 
 | 10 | Tomcat server to use for your learning and development.  But now what
 | 
 | 11 | do you do?</p>
 | 
 | 12 | 
 | 
 | 13 | <p>This manual is a primer covering the basic steps of using Tomcat to
 | 
 | 14 | set up a development environment, organize your source code, and then
 | 
 | 15 | build and test your application.  It does not discuss architectures or
 | 
 | 16 | recommended coding practices for web application development,
 | 
 | 17 | or provide in depth instructions on operating the development
 | 
 | 18 | tools that are discussed.  References to sources of additional information
 | 
 | 19 | are included in the following subsections.</p>
 | 
 | 20 | 
 | 
 | 21 | <p>The discussion in this manual is aimed at developers who will be using
 | 
 | 22 | a text editor along with command line tools to develop and debug their
 | 
 | 23 | applications.  As such, the recommendations are fairly generic -- but you
 | 
 | 24 | should easily be able to apply them in either a Windows-based or Unix-based
 | 
 | 25 | development environment.  If you are utilizing an Integrated Development
 | 
 | 26 | Environment (IDE) tool, you will need to adapt the advice given here to
 | 
 | 27 | the details of your particular environment.</p>
 | 
 | 28 | 
 | 
 | 29 | </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Links"><strong>Links</strong></a></font></td></tr><tr><td><blockquote>
 | 
 | 30 | 
 | 
 | 31 | <p>The following links provide access to selected sources of online
 | 
 | 32 | information, documentation, and software that is useful in developing
 | 
 | 33 | web applications with Tomcat.</p>
 | 
 | 34 | <ul>
 | 
 | 35 | <li><a href="http://jcp.org/aboutJava/communityprocess/final/jsr245/index.html">http://jcp.org/aboutJava/communityprocess/final/jsr245/</a> -
 | 
 | 36 |     <i>JavaServer Pages (JSP) Specification, Version 2.1</i>.  Describes
 | 
 | 37 |     the programming environment provided by standard implementations
 | 
 | 38 |     of the JavaServer Pages (JSP) technology.  In conjunction with
 | 
 | 39 |     the Servlet API Specification (see below), this document describes
 | 
 | 40 |     what a portable API page is allowed to contain.  Specific
 | 
 | 41 |     information on scripting (Chapter 9), tag extensions (Chapter 7),
 | 
 | 42 |     and packaging JSP pages (Appendix A) is useful.  The Javadoc
 | 
 | 43 |     API Documentation is included in the specification, and with the
 | 
 | 44 |     Tomcat download.<br><br></li>
 | 
 | 45 | <li><a href="http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html">http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html</a> -
 | 
 | 46 |     <i>Servlet API Specification, Version 2.5</i>.  Describes the
 | 
 | 47 |     programming environment that must be provided by all servlet
 | 
 | 48 |     containers conforming to this specification.  In particular, you
 | 
 | 49 |     will need this document to understand the web application
 | 
 | 50 |     directory structure and deployment file (Chapter 9), methods of
 | 
 | 51 |     mapping request URIs to servlets (Chapter 11), container managed
 | 
 | 52 |     security (Chapter 12), and the syntax of the <code>web.xml</code>
 | 
 | 53 |     Web Application Deployment Descriptor (Chapter 13).  The Javadoc
 | 
 | 54 |     API Documentation is included in the specification, and with the
 | 
 | 55 |     Tomcat download.<br><br></li>
 | 
 | 56 | </ul>
 | 
 | 57 | 
 | 
 | 58 | </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>
 | 
 | 59 |         Copyright © 1999-2014, Apache Software Foundation
 | 
 | 60 |         </em></font></div></td></tr></table></body></html> |