Use a Context based deployment.
Create a ${jetty.home}/contexts/myapp.xml
and specify the mapping you want.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC
"-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/myapp</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/App1</Set>
</Configure>
This makes the context /myapp
be served by your ${jetty.home}/webapps/App1
directory.
If you have hot deployment still enabled (it is enabled by default). Then just edit the ${jetty.home}/contexts/myapp.xml
and save it, jetty will pick up the change and serve the new settings.