[undertow-dev] Help Configuring Handlers

Ari King ari.brandeis.king at gmail.com
Fri Mar 7 12:21:44 EST 2014


>
> Something like this:
>
> PathHandler root = new PathHandler();
> root.addExactPath("/", servlet-root-handler);
> root.addExactPath("/static-stuff", new ResourceHandler(...));
>
> this way you map your servlet app to / and then override what ever you
> want below it with resource handler.
>
>
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 http://localhost:8080/example/1.
I've pasted
my setup here <http://pastebin.com/W3HEhqQd>; does anyone see what the
matter is? Thanks.

-Ari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20140307/a524583a/attachment.html 


More information about the undertow-dev mailing list