Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 771 | blopes | 1 | <!DOCTYPE html SYSTEM "about:legacy-compat"> |
| 2 | <html lang="en"><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link href="../images/docs-stylesheet.css" rel="stylesheet" type="text/css"><title>Application Developer's Guide (9.0.112) - Introduction</title></head><body><div id="wrapper"><header><div id="header"><div><div><div class="logo noPrint"><a href="https://tomcat.apache.org/"><img alt="Tomcat Home" src="../images/tomcat.png"></a></div><div style="height: 1px;"></div><div class="asfLogo noPrint"><a href="https://www.apache.org/" target="_blank"><img src="../images/asf-logo.svg" alt="The Apache Software Foundation" style="width: 266px; height: 83px;"></a></div><h1>Application Developer's Guide</h1><div class="versionInfo"> |
||
| 3 | Version 9.0.112, |
||
| 4 | <time datetime="2025-11-06">Nov 6 2025</time></div><div style="height: 1px;"></div><div style="clear: left;"></div></div></div></div></header><div id="middle"><div><div id="mainLeft" class="noprint"><div><nav><div><h2>Links</h2><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">App Dev Guide Home</a></li><li><a href="https://cwiki.apache.org/confluence/display/TOMCAT/FAQ">FAQ</a></li><li><a href="#comments_section">User Comments</a></li></ul></div><div><h2>Contents</h2><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></div></nav></div></div><div id="mainRight"><div id="content"><h2>Introduction</h2><h3 id="Overview">Overview</h3><div class="text"> |
||
| 5 | |||
| 6 | <p>Congratulations! You've decided to (or been told to) learn how to |
||
| 7 | build web applications using servlets and JSP pages, and picked the |
||
| 8 | Tomcat server to use for your learning and development. But now what |
||
| 9 | do you do?</p> |
||
| 10 | |||
| 11 | <p>This manual is a primer covering the basic steps of using Tomcat to |
||
| 12 | set up a development environment, organize your source code, and then |
||
| 13 | build and test your application. It does not discuss architectures or |
||
| 14 | recommended coding practices for web application development, |
||
| 15 | or provide in depth instructions on operating the development |
||
| 16 | tools that are discussed. References to sources of additional information |
||
| 17 | are included in the following subsections.</p> |
||
| 18 | |||
| 19 | <p>The discussion in this manual is aimed at developers who will be using |
||
| 20 | a text editor along with command line tools to develop and debug their |
||
| 21 | applications. As such, the recommendations are fairly generic – but you |
||
| 22 | should easily be able to apply them in either a Windows-based or Unix-based |
||
| 23 | development environment. If you are utilizing an Integrated Development |
||
| 24 | Environment (IDE) tool, you will need to adapt the advice given here to |
||
| 25 | the details of your particular environment.</p> |
||
| 26 | |||
| 27 | </div><h3 id="Links">Links</h3><div class="text"> |
||
| 28 | |||
| 29 | <p>The following links provide access to selected sources of online |
||
| 30 | information, documentation, and software that is useful in developing |
||
| 31 | web applications with Tomcat.</p> |
||
| 32 | <ul> |
||
| 33 | <li><p><a href="https://jcp.org/aboutJava/communityprocess/mrel/jsr245/index2.html">https://jcp.org/aboutJava/communityprocess/mrel/jsr245/index2.html</a> - |
||
| 34 | <i>JavaServer Pages (JSP) Specification, Version 2.3</i>. Describes |
||
| 35 | the programming environment provided by standard implementations |
||
| 36 | of the JavaServer Pages (JSP) technology. In conjunction with |
||
| 37 | the Servlet API Specification (see below), this document describes |
||
| 38 | what a portable API page is allowed to contain. Specific |
||
| 39 | information on scripting (Chapter 9), tag extensions (Chapter 7), |
||
| 40 | and packaging JSP pages (Appendix A) is useful. The Javadoc |
||
| 41 | API Documentation is included in the specification, and with the |
||
| 42 | Tomcat download.</p></li> |
||
| 43 | <li><p><a href="https://jcp.org/aboutJava/communityprocess/final/jsr369/index.html">https://jcp.org/aboutJava/communityprocess/final/jsr369/index.html</a> - |
||
| 44 | <i>Servlet API Specification, Version 4.0</i>. Describes the |
||
| 45 | programming environment that must be provided by all servlet |
||
| 46 | containers conforming to this specification. In particular, you |
||
| 47 | will need this document to understand the web application |
||
| 48 | directory structure and deployment file (Chapter 10), methods of |
||
| 49 | mapping request URIs to servlets (Chapter 12), container managed |
||
| 50 | security (Chapter 13), and the syntax of the <code>web.xml</code> |
||
| 51 | Web Application Deployment Descriptor (Chapter 14). The Javadoc |
||
| 52 | API Documentation is included in the specification, and with the |
||
| 53 | Tomcat download.</p></li> |
||
| 54 | </ul> |
||
| 55 | |||
| 56 | </div></div></div></div></div><footer><div id="footer"> |
||
| 57 | Copyright © 1999-2025, The Apache Software Foundation |
||
| 58 | <br> |
||
| 59 | Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo |
||
| 60 | are either registered trademarks or trademarks of the Apache Software |
||
| 61 | Foundation. |
||
| 62 | </div></footer></div></body></html> |