This file is indexed.

/usr/share/doc/racket/web-server-internal/dispatch-servlets.html is in racket-doc 6.7-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>2.12&nbsp;Serving Servlets</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_0&quot;);">&#9658;</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Web Server:<span class="mywbr"> &nbsp;</span> HTTP Server</a></td></tr></table></div><div class="tocviewsublisttop" style="display: none;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1&nbsp;</td><td><a href="dispatch-server-unit.html" class="tocviewlink" data-pltdoc="x">Dispatching Server</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="dispatchers.html" class="tocviewselflink" data-pltdoc="x">Dispatchers</a></td></tr><tr><td align="right">3&nbsp;</td><td><a href="web-server.html" class="tocviewlink" data-pltdoc="x">Launching Servers</a></td></tr><tr><td align="right">4&nbsp;</td><td><a href="Web_Servers.html" class="tocviewlink" data-pltdoc="x">Web Servers</a></td></tr><tr><td align="right">5&nbsp;</td><td><a href="private.html" class="tocviewlink" data-pltdoc="x">Internal APIs</a></td></tr><tr><td align="right">6&nbsp;</td><td><a href="Troubleshooting_and_Tips.html" class="tocviewlink" data-pltdoc="x">Troubleshooting and Tips</a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_1&quot;);">&#9660;</a></td><td>2&nbsp;</td><td><a href="dispatchers.html" class="tocviewlink" data-pltdoc="x">Dispatchers</a></td></tr></table><div class="tocviewsublist" style="display: block;" id="tocview_1"><table cellspacing="0" cellpadding="0"><tr><td align="right">2.1&nbsp;</td><td><a href="dispatch.html" class="tocviewlink" data-pltdoc="x">General</a></td></tr><tr><td align="right">2.2&nbsp;</td><td><a href="filesystem-map.html" class="tocviewlink" data-pltdoc="x">Mapping URLs to Paths</a></td></tr><tr><td align="right">2.3&nbsp;</td><td><a href="dispatch-sequencer.html" class="tocviewlink" data-pltdoc="x">Sequencing</a></td></tr><tr><td align="right">2.4&nbsp;</td><td><a href="dispatch-timeout.html" class="tocviewlink" data-pltdoc="x">Timeouts</a></td></tr><tr><td align="right">2.5&nbsp;</td><td><a href="dispatch-lift.html" class="tocviewlink" data-pltdoc="x">Lifting Procedures</a></td></tr><tr><td align="right">2.6&nbsp;</td><td><a href="dispatch-filter.html" class="tocviewlink" data-pltdoc="x">Filtering Requests</a></td></tr><tr><td align="right">2.7&nbsp;</td><td><a href="dispatch-pathprocedure.html" class="tocviewlink" data-pltdoc="x">Procedure Invocation upon Request</a></td></tr><tr><td align="right">2.8&nbsp;</td><td><a href="dispatch-log.html" class="tocviewlink" data-pltdoc="x">Logging</a></td></tr><tr><td align="right">2.9&nbsp;</td><td><a href="dispatch-passwords.html" class="tocviewlink" data-pltdoc="x">Password Protection</a></td></tr><tr><td align="right">2.10&nbsp;</td><td><a href="dispatch-host.html" class="tocviewlink" data-pltdoc="x">Virtual Hosts</a></td></tr><tr><td align="right">2.11&nbsp;</td><td><a href="dispatch-files.html" class="tocviewlink" data-pltdoc="x">Serving Files</a></td></tr><tr><td align="right">2.12&nbsp;</td><td><a href="" class="tocviewselflink" data-pltdoc="x">Serving Servlets</a></td></tr><tr><td align="right">2.13&nbsp;</td><td><a href="dispatch-stat.html" class="tocviewlink" data-pltdoc="x">Statistics</a></td></tr><tr><td align="right">2.14&nbsp;</td><td><a href="limit.html" class="tocviewlink" data-pltdoc="x">Limiting Requests</a></td></tr></table></div></div><div class="tocviewlist"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_2&quot;);">&#9658;</a></td><td>2.12&nbsp;</td><td><a href="" class="tocviewselflink" data-pltdoc="x">Serving Servlets</a></td></tr></table><div class="tocviewsublistbottom" style="display: none;" id="tocview_2"><table cellspacing="0" cellpadding="0"><tr><td align="right">2.12.1&nbsp;</td><td><a href="#%28part._setup%29" class="tocviewlink" data-pltdoc="x">Setting Up Servlets</a></td></tr><tr><td align="right">2.12.2&nbsp;</td><td><a href="#%28part._namespace%29" class="tocviewlink" data-pltdoc="x">Servlet Namespaces</a></td></tr><tr><td align="right">2.12.3&nbsp;</td><td><a href="#%28part._.Internal_.Servlet_.Representation%29" class="tocviewlink" data-pltdoc="x">Internal Servlet Representation</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._url-~3eservlet%2Fc%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">url-<wbr></wbr>&gt;servlet/<span class="mywbr"> &nbsp;</span>c</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._make-cached-url-~3eservlet%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>cached-<wbr></wbr>url-<wbr></wbr>&gt;servlet</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._make%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make</span></span></a></td></tr><tr><td><span class="tocsublinknumber">2.12.1<tt>&nbsp;</tt></span><a href="#%28part._setup%29" class="tocsubseclink" data-pltdoc="x">Setting Up Servlets</a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-v1..servlet%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>v1.servlet</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-v2..servlet%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>v2.servlet</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-stateless..servlet%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>stateless.servlet</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._default-module-specs%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">default-<wbr></wbr>module-<wbr></wbr>specs</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._path-~3eservlet%2Fc%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">path-<wbr></wbr>&gt;servlet/<span class="mywbr"> &nbsp;</span>c</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-default-path-~3eservlet%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>default-<wbr></wbr>path-<wbr></wbr>&gt;servlet</span></span></a></td></tr><tr><td><span class="tocsublinknumber">2.12.2<tt>&nbsp;</tt></span><a href="#%28part._namespace%29" class="tocsubseclink" data-pltdoc="x">Servlet Namespaces</a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-servlet-namespace%2Fc%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>servlet-<wbr></wbr>namespace/<span class="mywbr"> &nbsp;</span>c</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-make-servlet-namespace%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">make-<wbr></wbr>make-<wbr></wbr>servlet-<wbr></wbr>namespace</span></span></a></td></tr><tr><td><span class="tocsublinknumber">2.12.2.1<tt>&nbsp;</tt></span><a href="#%28part._.Why_this_is_useful%29" class="tocsubseclink" data-pltdoc="x">Why this is useful</a></td></tr><tr><td><span class="tocsublinknumber">2.12.3<tt>&nbsp;</tt></span><a href="#%28part._.Internal_.Servlet_.Representation%29" class="tocsubseclink" data-pltdoc="x">Internal Servlet Representation</a></td></tr><tr><td><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._servlet%29%29" class="tocsubnonseclink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">servlet</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.7&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.7&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="dispatch-files.html" title="backward to &quot;2.11 Serving Files&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="dispatchers.html" title="up to &quot;2 Dispatchers&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="dispatch-stat.html" title="forward to &quot;2.13 Statistics&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div><h4 x-source-module="(lib &quot;web-server/scribblings/web-server-internal.scrbl&quot;)" x-source-pkg="web-server-doc" x-part-tag="&quot;dispatch-servlets&quot;">2.12<tt>&nbsp;</tt><a name="(part._dispatch-servlets)"></a><a name="(mod-path._web-server/dispatchers/dispatch-servlets)"></a>Serving Servlets</h4><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left" colspan="2"><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">web-server/dispatchers/dispatch-servlets</span></a><span class="RktPn">)</span></td></tr><tr><td align="left">&nbsp;</td><td align="right"><span class="RpackageSpec"><span class="Smaller">&nbsp;package:</span> <span class="stt">web-server-lib</span></span></td></tr></table></div><div class="SIntrapara">The <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">web-server/dispatchers/dispatch-servlets</span></a> module defines a dispatcher constructor
that runs servlets.</div><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>value</p></div></div><p class="RForeground"><a name="(def._((lib._web-server/dispatchers/dispatch-servlets..rkt)._url-~3eservlet/c))"></a><span title="Provided from: web-server/dispatchers/dispatch-servlets | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._url-~3eservlet%2Fc%29%29" class="RktValDef RktValLink" data-pltdoc="x">url-&gt;servlet/c</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=contract-utilities.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fguts..rkt%2529._contract%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">contract?</a></span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Equivalent to <span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="stt"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=net&amp;rel=url.html%23%2528def._%2528%2528lib._net%252Furl-structs..rkt%2529._url%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">url?</a></span><span class="stt"> </span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._servlet~3f%29%29" class="RktValLink" data-pltdoc="x">servlet?</a></span><span class="RktPn">)</span></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td valign="top"><span class="RktPn">(</span><a name="(def._((lib._web-server/dispatchers/dispatch-servlets..rkt)._make-cached-url-~3eservlet))"></a><span title="Provided from: web-server/dispatchers/dispatch-servlets | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._make-cached-url-~3eservlet%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-cached-url-&gt;servlet</a></span></span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktVar">url-&gt;path</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktVar">path-&gt;serlvet</span><span class="RktPn">)</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr></table></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="prototype"><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">&rarr;</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><table cellspacing="0" cellpadding="0"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">void</a></span><span class="RktPn">)</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._url-~3eservlet%2Fc%29%29" class="RktValLink" data-pltdoc="x">url-&gt;servlet/c</a></span></td></tr></table></td></tr></table></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">url-&gt;path</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="filesystem-map.html#%28def._%28%28lib._web-server%2Fdispatchers%2Ffilesystem-map..rkt%29._url-~3epath%2Fc%29%29" class="RktValLink" data-pltdoc="x">url-&gt;path/c</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">path-&gt;serlvet</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._path-~3eservlet%2Fc%29%29" class="RktValLink" data-pltdoc="x">path-&gt;servlet/c</a></span></td></tr></table></blockquote></div><div class="SIntrapara">The first return value flushes the cache.  The second is a procedure
that uses <span class="RktVar">url-&gt;path</span> to resolve the URL to a path, then uses
<span class="RktSym">path-&gt;servlet</span> to resolve that path to a servlet, caching the
results in an internal table.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td valign="top"><span class="RktPn">(</span><a name="(def._((lib._web-server/dispatchers/dispatch-servlets..rkt)._make))"></a><span title="Provided from: web-server/dispatchers/dispatch-servlets | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._make%29%29" class="RktValDef RktValLink" data-pltdoc="x">make</a></span></span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktVar">url-&gt;servlet</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span>[</td><td valign="top"><span class="RktPn">#:responders-servlet-loading</span><span class="hspace">&nbsp;</span><span class="RktVar">responders-servlet-loading</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktPn">#:responders-servlet</span><span class="hspace">&nbsp;</span><span class="RktVar">responders-servlet</span>]<span class="RktPn">)</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym">dispatcher/c</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">url-&gt;servlet</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fdispatchers%2Fdispatch-servlets..rkt%29._url-~3eservlet%2Fc%29%29" class="RktValLink" data-pltdoc="x">url-&gt;servlet/c</a></span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="argcontract"><tr><td valign="top"><span class="hspace">&nbsp;&nbsp;</span></td><td valign="top"><span class="RktVar">responders-servlet-loading</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">:</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=net&amp;rel=url.html%23%2528def._%2528%2528lib._net%252Furl-structs..rkt%2529._url%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">url?</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=exns.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exn%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">exn?</a></span><span class="hspace">&nbsp;</span><span class="RktPn">. </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="RktPn"> .</span><span class="hspace">&nbsp;</span><span class="RktSym">can-be-response?</span><span class="RktPn">)</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">=</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktSym"><a href="Web_Servers.html#%28def._%28%28lib._web-server%2Fconfiguration%2Fresponders..rkt%29._servlet-loading-responder%29%29" class="RktValLink" data-pltdoc="x">servlet-loading-responder</a></span></td></tr></table></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="argcontract"><tr><td valign="top"><span class="hspace">&nbsp;&nbsp;</span></td><td valign="top"><span class="RktVar">responders-servlet</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">:</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=net&amp;rel=url.html%23%2528def._%2528%2528lib._net%252Furl-structs..rkt%2529._url%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">url?</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=exns.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._exn%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">exn?</a></span><span class="hspace">&nbsp;</span><span class="RktPn">. </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="RktPn"> .</span><span class="hspace">&nbsp;</span><span class="RktSym">can-be-response?</span><span class="RktPn">)</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">=</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktSym"><a href="Web_Servers.html#%28def._%28%28lib._web-server%2Fconfiguration%2Fresponders..rkt%29._servlet-error-responder%29%29" class="RktValLink" data-pltdoc="x">servlet-error-responder</a></span></td></tr></table></td></tr></table></blockquote></div><div class="SIntrapara">This dispatcher runs racket servlets, using <span class="RktVar">url-&gt;servlet</span> to
resolve URLs to the underlying servlets.  If servlets have errors
loading, then <span class="RktVar">responders-servlet-loading</span> is used. Other errors
are handled with <span class="RktVar">responders-servlet</span>. If a servlet raises calls
<span class="RktSym">next-dispatcher</span>, then the signal is propagated by this
dispatcher.</div></p><h5 x-source-module="(lib &quot;web-server/scribblings/web-server-internal.scrbl&quot;)" x-source-pkg="web-server-doc" x-part-tag="&quot;setup&quot;">2.12.1<tt>&nbsp;</tt><a name="(part._setup)"></a><a name="(mod-path._web-server/servlet/setup)"></a>Setting Up Servlets</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left" colspan="2"><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._web-server%2Fservlet%2Fsetup%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">web-server/servlet/setup</span></a><span class="RktPn">)</span></td></tr><tr><td align="left">&nbsp;</td><td align="right"><span class="RpackageSpec"><span class="Smaller">&nbsp;package:</span> <span class="stt">web-server-lib</span></span></td></tr></table></div><div class="SIntrapara">This module is used internally to build and load servlets. It may be useful to those who are trying to extend the server.</div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._web-server/servlet/setup..rkt)._make-v1..servlet))"></a><span title="Provided from: web-server/servlet/setup | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-v1..servlet%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-v1.servlet</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">directory</span><span class="hspace">&nbsp;</span><span class="RktVar">timeout</span><span class="hspace">&nbsp;</span><span class="RktVar">start</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._servlet~3f%29%29" class="RktValLink" data-pltdoc="x">servlet?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">directory</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">timeout</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._integer%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">integer?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">start</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=http.html%23%2528def._%2528%2528lib._web-server%252Fhttp%252Frequest-structs..rkt%2529._request%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">request?</a></span><span class="hspace">&nbsp;</span><span class="RktPn">. </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="RktPn"> .</span><span class="hspace">&nbsp;</span><span class="RktSym">can-be-response?</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Creates a version 1 servlet that uses <span class="RktVar">directory</span> as its current directory, a timeout manager with a <span class="RktVar">timeout</span> timeout, and <span class="RktVar">start</span> as the request handler.</div></p></div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._web-server/servlet/setup..rkt)._make-v2..servlet))"></a><span title="Provided from: web-server/servlet/setup | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-v2..servlet%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-v2.servlet</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">directory</span><span class="hspace">&nbsp;</span><span class="RktVar">manager</span><span class="hspace">&nbsp;</span><span class="RktVar">start</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._servlet~3f%29%29" class="RktValLink" data-pltdoc="x">servlet?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">directory</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">manager</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=servlet.html%23%2528def._%2528%2528lib._web-server%252Fmanagers%252Fmanager..rkt%2529._manager%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">manager?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">start</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=http.html%23%2528def._%2528%2528lib._web-server%252Fhttp%252Frequest-structs..rkt%2529._request%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">request?</a></span><span class="hspace">&nbsp;</span><span class="RktPn">. </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="RktPn"> .</span><span class="hspace">&nbsp;</span><span class="RktSym">can-be-response?</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Creates a version 2 servlet that uses <span class="RktVar">directory</span> as its current directory, a <span class="RktVar">manager</span> as the continuation manager, and <span class="RktVar">start</span> as the request handler.</div></p></div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td valign="top"><span class="RktPn">(</span><a name="(def._((lib._web-server/servlet/setup..rkt)._make-stateless..servlet))"></a><span title="Provided from: web-server/servlet/setup | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-stateless..servlet%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-stateless.servlet</a></span></span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktVar">directory</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktVar">stuffer</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktVar">manager</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktVar">start</span><span class="RktPn">)</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">&rarr;</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._servlet~3f%29%29" class="RktValLink" data-pltdoc="x">servlet?</a></span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">directory</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">stuffer</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=stateless.html%23%2528def._%2528%2528lib._web-server%252Fstuffers%252Fstuffer..rkt%2529._stuffer%252Fc%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">stuffer/c</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=serialization.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fserialize..rkt%2529._serializable%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">serializable?</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=bytestrings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._bytes%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">bytes?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">manager</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=servlet.html%23%2528def._%2528%2528lib._web-server%252Fmanagers%252Fmanager..rkt%2529._manager%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">manager?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">start</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=http.html%23%2528def._%2528%2528lib._web-server%252Fhttp%252Frequest-structs..rkt%2529._request%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">request?</a></span><span class="hspace">&nbsp;</span><span class="RktPn">. </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="RktPn"> .</span><span class="hspace">&nbsp;</span><span class="RktSym">can-be-response?</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Creates a stateless <a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=stateless.html&amp;version=6.7" class="RktModLink Sq" data-pltdoc="x"><span class="RktSym">web-server</span></a> servlet that uses <span class="RktVar">directory</span> as its current directory, <span class="RktVar">stuffer</span> as its stuffer, and <span class="RktVar">manager</span> as the continuation manager, and <span class="RktVar">start</span> as the request handler.</div></p></div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>value</p></div></div><p class="RForeground"><a name="(def._((lib._web-server/servlet/setup..rkt)._default-module-specs))"></a><span title="Provided from: web-server/servlet/setup | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._default-module-specs%29%29" class="RktValDef RktValLink" data-pltdoc="x">default-module-specs</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._listof%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Module_Names_and_Loading.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._module-path%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">module-path?</a></span><span class="RktPn">)</span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">The modules that the Web Server needs to share with all servlets.</div></p></div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>value</p></div></div><p class="RForeground"><a name="(def._((lib._web-server/servlet/setup..rkt)._path-~3eservlet/c))"></a><span title="Provided from: web-server/servlet/setup | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._path-~3eservlet%2Fc%29%29" class="RktValDef RktValLink" data-pltdoc="x">path-&gt;servlet/c</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=contract-utilities.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fguts..rkt%2529._contract%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">contract?</a></span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Equivalent to <span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="stt"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Manipulating_Paths.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._path%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">path?</a></span><span class="stt"> </span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._servlet~3f%29%29" class="RktValLink" data-pltdoc="x">servlet?</a></span><span class="RktPn">)</span>.</div></p></div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td valign="top" colspan="3"><span class="RktPn">(</span><a name="(def._((lib._web-server/servlet/setup..rkt)._make-default-path-~3eservlet))"></a><span title="Provided from: web-server/servlet/setup | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._make-default-path-~3eservlet%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-default-path-&gt;servlet</a></span></span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span>[</td><td valign="top"><span class="RktPn">#:make-servlet-namespace</span><span class="hspace">&nbsp;</span><span class="RktVar">make-servlet-namespace</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktPn">#:timeouts-default-servlet</span><span class="hspace">&nbsp;</span><span class="RktVar">timeouts-default-servlet</span>]<span class="RktPn">)</span></td><td valign="top"><span class="hspace">&nbsp;</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fservlet%2Fsetup..rkt%29._path-~3eservlet%2Fc%29%29" class="RktValLink" data-pltdoc="x">path-&gt;servlet/c</a></span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="argcontract"><tr><td valign="top"><span class="hspace">&nbsp;&nbsp;</span></td><td valign="top"><span class="RktVar">make-servlet-namespace</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">:</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-servlet-namespace%2Fc%29%29" class="RktValLink" data-pltdoc="x">make-servlet-namespace/c</a></span></td></tr><tr><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top">=</td><td valign="top"><span class="hspace">&nbsp;</span></td><td valign="top"><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-make-servlet-namespace%29%29" class="RktValLink" data-pltdoc="x">make-make-servlet-namespace</a></span><span class="RktPn">)</span></td></tr></table></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">timeouts-default-servlet</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._integer%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">integer?</a></span><span class="hspace">&nbsp;</span>=<span class="hspace">&nbsp;</span><span class="RktVal">30</span></td></tr></table></blockquote></div><div class="SIntrapara">Constructs a procedure that loads a servlet from the path in a namespace created with <span class="RktVar">make-servlet-namespace</span>,
using a timeout manager with <span class="RktVar">timeouts-default-servlet</span> as the default timeout (if no manager is given.)</div></p></div></p><h5 x-source-module="(lib &quot;web-server/scribblings/web-server-internal.scrbl&quot;)" x-source-pkg="web-server-doc" x-part-tag="&quot;namespace&quot;">2.12.2<tt>&nbsp;</tt><a name="(part._namespace)"></a><a name="(mod-path._web-server/configuration/namespace)"></a>Servlet Namespaces</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left" colspan="2"><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._web-server%2Fconfiguration%2Fnamespace%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">web-server/configuration/namespace</span></a><span class="RktPn">)</span></td></tr><tr><td align="left">&nbsp;</td><td align="right"><span class="RpackageSpec"><span class="Smaller">&nbsp;package:</span> <span class="stt">web-server-lib</span></span></td></tr></table></div><div class="SIntrapara">This module provides a function to help create the
<span class="RktSym">make-servlet-namespace</span> procedure needed by the <span class="RktSym">make</span> function
of <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">web-server/dispatchers/dispatch-servlets</span></a>.</div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>value</p></div></div><p class="RForeground"><a name="(def._((lib._web-server/configuration/namespace..rkt)._make-servlet-namespace/c))"></a><span title="Provided from: web-server/configuration/namespace | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-servlet-namespace%2Fc%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-servlet-namespace/c</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=contract-utilities.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fguts..rkt%2529._contract%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">contract?</a></span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Equivalent to
</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%252A%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span>*</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">(</span><span class="RktPn">#:additional-specs</span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._listof%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Module_Names_and_Loading.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._module-path%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">module-path?</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Namespaces.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._namespace%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">namespace?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div></p></div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._web-server/configuration/namespace..rkt)._make-make-servlet-namespace))"></a><span title="Provided from: web-server/configuration/namespace | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-make-servlet-namespace%29%29" class="RktValDef RktValLink" data-pltdoc="x">make-make-servlet-namespace</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">#:to-be-copied-module-specs</span><span class="hspace">&nbsp;</span><span class="RktVar">to-be-copied-module-specs</span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-servlet-namespace%2Fc%29%29" class="RktValLink" data-pltdoc="x">make-servlet-namespace/c</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">to-be-copied-module-specs</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._listof%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Module_Names_and_Loading.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._module-path%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">module-path?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">This function creates a function that when called will construct a new
<span class="RktSym">namespace</span> that has all the modules from
<span class="RktVar">to-be-copied-module-specs</span> and <span class="RktSym">additional-specs</span>, as
well as <span class="RktSym">racket</span> and <span class="RktSym">mred</span>, provided they are already
attached to the <span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Namespaces.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._current-namespace%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">current-namespace</a></span><span class="RktPn">)</span> of the call-site.</div></p></div><div class="SIntrapara"><p><div class="SIntrapara">Example:
</div><div class="SIntrapara"><blockquote class="SCodeFlow"><table cellspacing="0" cellpadding="0" class="RktBlk"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fconfiguration%2Fnamespace..rkt%29._make-make-servlet-namespace%29%29" class="RktValLink" data-pltdoc="x">make-make-servlet-namespace</a></span></td></tr><tr><td><span class="hspace">&nbsp;</span><span class="RktPn">#:to-be-copied-module-specs</span><span class="hspace">&nbsp;</span><span class="RktVal">`</span><span class="RktVal">(</span><span class="RktVal">(</span><span class="RktVal">lib</span><span class="hspace">&nbsp;</span><span class="RktVal">"database.rkt"</span><span class="hspace">&nbsp;</span><span class="RktVal">"my-module"</span><span class="RktVal">)</span><span class="RktVal">)</span><span class="RktPn">)</span></td></tr></table></blockquote></div></p></div></p><h5 x-source-module="(lib &quot;web-server/scribblings/web-server-internal.scrbl&quot;)" x-source-pkg="web-server-doc" x-part-tag="&quot;Why_this_is_useful&quot;">2.12.2.1<tt>&nbsp;</tt><a name="(part._.Why_this_is_useful)"></a>Why this is useful</h5><p>A different namespace is needed for each servlet, so that if servlet A
and servlet B both use a stateful module C, they will be isolated from
one another. We see the Web Server as an operating system for servlets,
so we inherit the isolation requirement on operating systems.</p><p>However, there are some modules which must be shared. If they were not,
then structures cannot be passed from the Web Server to the servlets,
because Racket&rsquo;s structures are generative.</p><p>Since, on occasion, a user will actually wanted servlets A and B to
interact through module C.  A custom <span class="RktSym">make-servlet-namespace</span> can
be created, through this procedure, that attaches module C to all
servlet namespaces. Through other means (see <a href="dispatchers.html" data-pltdoc="x">Dispatchers</a>)
different sets of servlets can share different sets of modules.</p><h5 x-source-module="(lib &quot;web-server/scribblings/web-server-internal.scrbl&quot;)" x-source-pkg="web-server-doc" x-part-tag="&quot;Internal_Servlet_Representation&quot;">2.12.3<tt>&nbsp;</tt><a name="(part._.Internal_.Servlet_.Representation)"></a><a name="(mod-path._web-server/private/servlet)"></a>Internal Servlet Representation</h5><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left" colspan="2"><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="#%28mod-path._web-server%2Fprivate%2Fservlet%29" class="RktModLink" data-pltdoc="x"><span class="RktSym">web-server/private/servlet</span></a><span class="RktPn">)</span></td></tr><tr><td align="left">&nbsp;</td><td align="right"><span class="RpackageSpec"><span class="Smaller">&nbsp;package:</span> <span class="stt">web-server-lib</span></span></td></tr></table></div><div class="SIntrapara"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace">&nbsp;</span></td><td><a name="(def._((lib._web-server/private/servlet..rkt)._set-servlet-handler!))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._set-servlet-directory!))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._set-servlet-manager!))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._set-servlet-namespace!))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._set-servlet-custodian!))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._servlet-handler))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._servlet-directory))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._servlet-manager))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._servlet-namespace))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._servlet-custodian))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._make-servlet))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._servlet~3f))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._struct~3aservlet))"></a><a name="(def._((lib._web-server/private/servlet..rkt)._servlet))"></a><span title="Provided from: web-server/private/servlet | Package: web-server-lib"><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._servlet%29%29" class="RktValDef RktValLink" data-pltdoc="x">servlet</a></span></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym">custodian</span><span class="stt"> </span><span class="RktSym">namespace</span><span class="stt"> </span><span class="RktSym">manager</span><span class="stt"> </span><span class="RktSym">directory</span><span class="stt"> </span><span class="RktSym">handler</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:extra-constructor-name</span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._web-server%2Fprivate%2Fservlet..rkt%29._make-servlet%29%29" class="RktValLink" data-pltdoc="x">make-servlet</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="RktPn">#:mutable</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">custodian</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=custodians.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._custodian%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">custodian?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">namespace</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Namespaces.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._namespace%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">namespace?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">manager</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=servlet.html%23%2528def._%2528%2528lib._web-server%252Fmanagers%252Fmanager..rkt%2529._manager%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">manager?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">directory</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=Manipulating_Paths.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fmisc..rkt%2529._path-string%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">path-string?</a></span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktSym">handler</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=http.html%23%2528def._%2528%2528lib._web-server%252Fhttp%252Frequest-structs..rkt%2529._request%7E3f%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">request?</a></span><span class="hspace">&nbsp;</span><span class="RktPn">. </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&amp;rel=function-contracts.html%23%2528form._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._-%7E3e%2529%2529&amp;version=6.7" class="RktStxLink Sq" data-pltdoc="x"><span class="nobreak">-&gt;</span></a></span><span class="RktPn"> .</span><span class="hspace">&nbsp;</span><span class="RktSym">can-be-response?</span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Instances of this structure hold the necessary parts of a servlet:
the <span class="RktSym">custodian</span> responsible for the servlet&rsquo;s resources,
the <span class="RktSym">namespace</span> the servlet is executed within,
the <span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=web-server&amp;rel=servlet.html%23%2528def._%2528%2528lib._web-server%252Fmanagers%252Fmanager..rkt%2529._manager%2529%2529&amp;version=6.7" class="RktValLink Sq" data-pltdoc="x">manager</a></span> responsible for the servlet&rsquo;s continuations,
the current <span class="RktSym">directory</span> of the servlet,
and the <span class="RktSym">handler</span> for all requests to the servlet.</div></p></div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.7&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.7&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="dispatch-files.html" title="backward to &quot;2.11 Serving Files&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="dispatchers.html" title="up to &quot;2 Dispatchers&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="dispatch-stat.html" title="forward to &quot;2.13 Statistics&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>