| [66] | 1 | <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Architecture - Request Process Flow</title><meta value="Yoav Shapira" name="author"><meta value="yoavs@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="0" width="100%" border="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt=" | 
|---|
|  | 2 | The Apache Tomcat Servlet/JSP Container | 
|---|
|  | 3 | " align="right" src="../images/tomcat.gif"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="../images/asf-logo.gif"></a></td></tr></table><table cellspacing="4" width="100%" border="0"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><tr><!--LEFT SIDE NAVIGATION--><td nowrap="true" valign="top" width="20%"><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="overview.html">Overview</a></li><li><a href="startup.html">Server Startup</a></li><li><a href="requestProcess.html">Request Process</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>Apache Tomcat Architecture</h1><h2>Request Process Flow</h2></td><td nowrap="true" valign="top" align="right"><small><a href="printer/requestProcess.html"><img alt="Printer Friendly Version" border="0" src="../images/printer.gif"><br>print-friendly<br>version | 
|---|
|  | 4 | </a></small></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Request Process Flow"><strong>Request Process Flow</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 5 |  | 
|---|
|  | 6 | <p> | 
|---|
|  | 7 | This page describes the process used by Tomcat to handle | 
|---|
|  | 8 | an incoming request.  This process is largely defined by | 
|---|
|  | 9 | the Servlet Specification, which outlines the order | 
|---|
|  | 10 | of events that must take place. | 
|---|
|  | 11 | </p> | 
|---|
|  | 12 |  | 
|---|
|  | 13 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="description"><strong>description</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 14 | <p> | 
|---|
|  | 15 | TODO | 
|---|
|  | 16 | </p> | 
|---|
|  | 17 | </blockquote></td></tr></table> | 
|---|
|  | 18 |  | 
|---|
|  | 19 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="diagram"><strong>diagram</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 20 | <p> | 
|---|
|  | 21 | A UML sequence diagram of the request process is available | 
|---|
|  | 22 | <a href="requestProcess/requestProcess.pdf">here.</a> | 
|---|
|  | 23 | </p> | 
|---|
|  | 24 | </blockquote></td></tr></table> | 
|---|
|  | 25 |  | 
|---|
|  | 26 | <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#828DA6"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="comments"><strong>comments</strong></a></font></td></tr><tr><td><blockquote> | 
|---|
|  | 27 | <p> | 
|---|
|  | 28 | The Servlet Specification provides many opportunities for | 
|---|
|  | 29 | listening in (using Listeners) or modiying (using Filters) | 
|---|
|  | 30 | the request handling process even before the request arrives | 
|---|
|  | 31 | at the servlet that will handle it. | 
|---|
|  | 32 | </p> | 
|---|
|  | 33 |  | 
|---|
|  | 34 | </blockquote></td></tr></table> | 
|---|
|  | 35 |  | 
|---|
|  | 36 | </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em> | 
|---|
|  | 37 | Copyright © 1999-2008, Apache Software Foundation | 
|---|
|  | 38 | </em></font></div></td></tr></table></body></html> | 
|---|