title: How to deploy a WAR to Jetty by copying to $JETTY_HOME/webapps?
body: <p>Having installed Jetty, it's certainly running as I get a welcome page.</p>
  <p>How do I <a href="https://docs.huihoo.com/jetty/the-definitive-reference/quickstart-deploying-webapps.html" rel="nofollow noreferrer">manually</a> deploy a <code>WAR</code> to Jetty?</p>
  <blockquote>
  <p>If you have a standard web application, you can hot deploy it into
  Jetty by copying it into the webapps directory.</p>
  </blockquote>
  <p>Where is the webapps directory?  Or, how do I find the directory?</p>
  <p>See <a href="https://www.baeldung.com/deploy-to-jetty" rel="nofollow noreferrer">also</a>:</p>
  <blockquote>
  <ol start="4">
  <li>Deploying by Copying WAR</li>
  </ol>
  <p>The easiest way to deploy a web application to Jetty server is
  probably by copying the WAR file into the $JETTY_HOME/webapps
  directory.</p>
  </blockquote>
  <p>output from <code>dpkg -L jetty9</code> as a <a href="https://gist.github.com/NICKSAUNDERS/b34f66eae68dcc08f9d4bae9915e067a" rel="nofollow noreferrer">gist</a> shows:</p>
  <pre><code>/usr/share/jetty9/logs
  /usr/share/jetty9/start.d
  /usr/share/jetty9/start.ini
  /usr/share/jetty9/start.jar
  /usr/share/jetty9/webapps
  </code></pre>
  <p>and:</p>
  <pre><code>/var/cache/jetty9
  /var/lib
  /var/lib/jetty9
  /var/lib/jetty9/webapps
  /var/lib/jetty9/webapps/README.TXT
  /var/log
  /var/log/jetty9
  /usr/share/doc/jetty9/README.Debian
  </code></pre>