String uri = "";
String info = req.getPathInfo();
if (null != info && info.length() > 0) {
uri = info.substring(1);
}
FormHandler handler = this.handlerMap.get(uri);
if (handler == null) {
resp.sendError(404);
} else {
FormResponseAction action = handler.handle(req, resp);
if (action.redirectToUrl != null) {
resp.sendRedirect(action.redirectToUrl);
return;
} else if (action.component != null){
HtmlServletCanvas html = new HtmlServletCanvas(req, resp, resp.getWriter());