<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("/", servlet-root-handler);<br>root.addExactPath("/static-stuff", 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't mean to belabour this seemingly straightforward matter, but I just can't get undertow to work with custom path handler settings. The custom path handler won't serve static files out of "src/main/java/resources/" or recognized the intended jaxrs path of <a href="http://localhost:8080/example/1">http://localhost:8080/example/1</a>. I'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>