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 {