|
From: robf <rob...@sp...> - 2007-10-24 17:34:05
|
All, I have recently started supporting an a legacy application that uses Jetty 4.0.4 as a HTTP Server and I'm needing to add a welcome file. When Jetty is started it uses the following configuration file: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd"> <Configure class="org.mortbay.jetty.Server"> <!-- Configure the listeners --> <Call name="addListener"> <Arg> <New class="org.mortbay.http.SocketListener"> <Set name="Port"><SystemProperty name="jetty.port" default="80"/></Set> <Set name="MinThreads">5</Set> <Set name="MaxThreads">255</Set> <Set name="MaxIdleTimeMs">30000</Set> <Set name="MaxReadTimeMs">10000</Set> <Set name="MaxStopTimeMs">5000</Set> <Set name="LowResourcePersistTimeMs">2000</Set> </New> </Arg> </Call> <Call name="addWebApplication"> <Arg>/ra/*</Arg> <Arg>D:/file/reportAutomation</Arg> </Call> <Set name="RequestLog"> <New class="org.mortbay.http.NCSARequestLog"> <Arg><SystemProperty name="jetty.log" default="./logs"/>/yyyy_mm_dd.request.log</Arg> <Set name="retainDays">90</Set> <Set name="append">true</Set> <Set name="extended">true</Set> <Set name="LogTimeZone">GMT</Set> </New> </Set> <Call name="addRealm"> <Arg> <New class="org.mortbay.http.HashUserRealm"> <Arg>RA Realm</Arg> <Arg>D:/file/reportAutomation/WEB-INF/jetty/raRealm.properties</Arg> </New> </Arg> </Call> </Configure> Can someone please tell me how I can add a welcome file? Thanks, Rob -- View this message in context: http://www.nabble.com/Configuring-welcome-page---HTTP-Server-tf4685184.html#a13388682 Sent from the Jetty Support mailing list archive at Nabble.com. |