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

On 25/01/2017 17:22, Chris Walker wrote:
John,

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>
    </Configure>

Ah, I see. So "war" can be either a .war file or a directory name, then?

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

Great, many thanks.

--
John English


Back to the top