<?xml version="1.0" encoding="UTF-8"?>
<Configure class="org.eclipse.jetty.servlet.ServletContextHandler">
<New id="root" class="java.lang.String">
<Set name="contextPath">/</Set>
<Set name="virtualHosts">
<Array type="java.lang.String">
<Set name="resourceBase"><Ref refid="root" /></Set>
<Set name="welcomeFiles">
<Arg>org.eclipse.jetty.fcgi.server.proxy.TryFilesFilter</Arg>
<Call name="of" class="java.util.EnumSet">
<Arg><Get name="REQUEST" class="javax.servlet.DispatcherType" /></Arg>
<Call name="setInitParameter">
<Arg>$path /index.php?p=$path</Arg>
<New class="org.eclipse.jetty.servlet.ServletHolder">
<Call name="forName" class="java.lang.Class">
<Arg>org.eclipse.jetty.servlet.DefaultServlet</Arg>
<Call name="setInitParameter">
<Arg>org.eclipse.jetty.fcgi.server.proxy.FastCGIProxyServlet</Arg>
<Call name="setInitParameter">
<Call name="setInitParameter">
<Call name="setInitParameter">
<Arg><Ref refid="root" /></Arg>
<Call name="setInitParameter">
As next step I would like to develop a custom WebSocketServlet with context "/ws" and deploy as a WAR-file at the same Jetty server.
But when I copy the WAR-file into $JETTY_BASE/webapps/ dir on my Linux server I see successful deployment in the Jetty log:
How could I please change the priority here, so that "/hello" context resolves to the WAR-file?