<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Something like this:<br>
<br></div>PathHandler root = new PathHandler();<br></div>root.addExactPath(&quot;/&quot;, servlet-root-handler);<br>root.addExactPath(&quot;/static-stuff&quot;, new ResourceHandler(...));<br>
<br></div><div>this way you map your servlet app to / and then override what ever you want below it with resource handler.<br></div><br></div></blockquote></div><br></div><div class="gmail_extra">Don&#39;t mean to belabour this seemingly straightforward matter, but I just can&#39;t get undertow to work with custom path handler settings. The custom path handler won&#39;t serve static files out of &quot;src/main/java/resources/&quot; or recognized the intended jaxrs path of <a href="http://localhost:8080/example/1">http://localhost:8080/example/1</a>. I&#39;ve <a href="http://pastebin.com/W3HEhqQd">pasted my setup here</a>; does anyone see what the matter is? Thanks.<br>
<br></div><div class="gmail_extra">-Ari <br></div></div>