Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Another newbie-9.x-user question


All you have to do in that case is specify the directory location. In the example below I set a context of /chris using the /chris directory in the webapps folder of my ${jetty.base}:

<Configure id="chrisApp" class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath">/chris</Set>
  <Set name="war"><Property name="jetty.webapps" default="."/>/chris</Set>

I will see what I can do about making the documentation more clear in this regard.


On Wed, Jan 25, 2017 at 6:12 AM, John English <john.foreign@xxxxxxxxx> wrote:
On 23/01/2017 18:38, Chris Walker wrote:

Regarding the deploy module, you can disable the automatic deployment of
webapps by setting the value of /jetty.deploy.scanInterval=/ to 0. You
can change this by editing the /${jetty.base}/start.ini /or
/${jetty.base}/start.d/deploy.ini/ file (depending on your setup). You
can read more about hot deployment here

Thanks! I somehow missed that section when I was reading the documentation...

One further question: Is there a way to just use an XML file as described here:
but specifying a directory name rather than a .war file? I can't find anything in WebAppContext or its parents that just lets you specify a directory name. Again, I'm probably missing something obvious...

Thanks again,

John English
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top