public void serviceRest(HttpServlet servlet, HttpServletRequest req, HttpServletResponse rsp) throws ServletException, IOException {
req=new HTTPServletRequestWrap(req);
CFMLFactory factory=getCFMLFactory(servlet.getServletContext(), servlet.getServletConfig(), req);
PageContext pc = factory.getRailoPageContext(servlet,req,rsp,null,false,-1,false);
ThreadQueue queue = factory.getConfig().getThreadQueue();
queue.enter(pc);
try {
pc.executeRest(pc.getHttpServletRequest().getServletPath(),false);
}
catch (PageException pe) {
throw new PageServletException(pe);
}
finally {