Hi Dustin, > Long time user, first time writer...
Welcome in this list! Reading is the first step, writing the next one and replying to other questions the final one :) > Been using 1.0.1 for a while now and had a happy application. I'd > rather Tomcat handled my CSS, JavaScript, and imaging requests, so I > specify in my web.xml what URI pattern to send to the Noelios > ServerServlet. This presents a problem now that I want multiple URI > patterns to be sent to the ServerServlet. [...] > But when the router matches, it always takes the remaining > part, which > strips off the /abc or the /xyz and doesn't match. Should I use a > custom route matcher? You are hitting a constraint in the way Restlet applications can be integrated within Servlet containers. > Is it easier to write something that will obtain > the CSS, JavaScript, and images from the WAR's path and just have all > requests proceed through the ServerServlet? In my view, yes. The Directory class will happily serve those CSS, JS and images for you, without any particular difference with the way Servlet containers do. Another solution is to use two Restlet applications instead of one. The first application mapped to "/abc/*" and the second one to "/xyz/*". Best regards, Jerome

