servlet-dispatching

How is dispatching controlled in JAX-RS?

I'm writing a RESTful Web Service with RESTeasy. This is an implementation of JAX-RS. You annotate a class or method with a single @Path annotation. Regular expressions are used to get path parameters. For instance @Path("/foo{varname:.*}/bar") matches all patterns starting with "/foo", ending with "/bar" and having anything in be...

How to link different Servlet together?

First of all, I did not use Spring MVC. :) :) Just want to get it out first. Now what I have is different JSP pages that making calls to different Servlets. All the pieces work great individually but I kind of need to link them together. If all of jsp pages make GET request then it would be easy, since I would just pass a type via the we...