Package org.xadoop.servlet.actions

Examples of org.xadoop.servlet.actions.AbstractAction


    if (actionStr != null) {
      boolean isLoginAction = actionStr.equals(LoginAction.ACTIONNAME);
      if (isLoggedIn || isLoginAction) {
        ServletContext ctx = req.getSession().getServletContext();
        HashMap<String, AbstractAction> am = getActionMap(ctx);
        AbstractAction action = am.get(actionStr);
        if (action == null) {
          msg = "Action " + actionStr + " unknown!";
        } else {
          AbstractResult result = action.execute(req);

          // if everything was okay
          // send reload (retaining get parameters)
          if (result.wasSuccessful()) {
            String parameters = GetRequest.reconstructParameters(req, "&");
View Full Code Here

TOP

Related Classes of org.xadoop.servlet.actions.AbstractAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.