// action map
HashMap<String, AbstractAction> actionMap = new HashMap<String, AbstractAction>();
actionMap.put(LoginAction.ACTIONNAME, new LoginAction());
actionMap.put(LogoutAction.ACTIONNAME, new LogoutAction());
actionMap.put(XQueryMRAction.ACTIONNAME, new XQueryMRAction());
context.setAttribute(XadoopConstants.CTX_ACTIONMAP, actionMap);
// page map
AbstractPage errorPage = new ErrorPage("");
AbstractPage homePage = new HomePage();