I'm having a really hard time figuring out how to (programmatically, not via web.xml) configure jetty to serve a webapp (a directory with a bunch of jsp's) from one path and one or more servlets from a different path on the same server.
Calling the URL "http://127.0.0.1/*.jsp
" should call the context serving the jsp's
Calling the URL "http://127.0.0.1/hello
" or "http://127.0.0.1/hello2
" should call the servlets configured at those url's.
I just cant seem to find a way to accomplish this since the whole concept of contexts/webapps and the alike are spinning in my head.
Code examples are more than welcome!