Jeremy, I saw you'd put a change in to implement registerMapping thx. I
still can't get it to work though, for example with code like:
Servlet helloservlet = new HttpServlet() {
public void doGet(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException {
PrintWriter out = res.getWriter();
out.println("Hello, world!");
out.close();
}
};
tomcatHost.registerMapping("//helloworldjsonrpc-SNAPSHOT/foo",
helloservlet);
Stepping through the Tomcat code the children map of containers only has
keys like /helloworldjsonrpc-SNAPSHOT so it needs that to get a valid
context, but even though that code runs ok it doesn't result in any servlet
being available at http://localhost:8080/helloworldjsonrpc-SNAPSHOT/foo/
What am i doing wrong?
...ant