| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- $Id$ --> |
| <!DOCTYPE Configure PUBLIC |
| "-//Mort Bay Consulting//DTD Configure 1.2//EN" |
| "http://jetty.mortbay.org/configure_1_2.dtd"> |
| <!-- |
| This configuration file is used to allow the Tutorial to be run directly from |
| the main distribution directory (i.e., without having to build the frameworks). |
| --> |
| <Configure class="org.mortbay.http.HttpServer"> |
| <Call name="addListener"> |
| <Arg> |
| <New class="org.mortbay.http.SocketListener"> |
| <Set name="Port">8081</Set> |
| <Set name="MinThreads">1</Set> |
| <Set name="MaxThreads">10</Set> |
| <Set name="MaxIdleTimeMs">50000</Set> |
| </New> |
| </Arg> |
| </Call> |
| |
| <Call name="addWebApplication"> |
| <Arg>/learn-tapestry</Arg> |
| <Arg>webapps/learn-tapestry.war</Arg> |
| <Arg>config/webdefault.xml</Arg> |
| <Arg type="boolean">false</Arg> |
| </Call> |
| |
| <Call name="addContext"> |
| <Arg>/private/*</Arg> |
| <Set name="ResourceBase">private</Set> |
| <Set name="ServingResources">TRUE</Set> |
| </Call> |
| </Configure> |