Package com.alexnevsky.hotel.commands

Examples of com.alexnevsky.hotel.commands.ICommand.execute()


  private void processRequest(HttpServletRequest request, HttpServletResponse response) {
    String page = null;

    try {
      ICommand command = RequestHelper.getInstance().getCommand(request);
      page = command.execute(request, response);
    } finally {
      logger.info("User '" + request.getSession().getAttribute(AttributesManager.PARAM_NAME_LOGIN) + "'. "
          + "Dispatching to view: " + page + ". RemoteAddr: " + request.getRemoteAddr());

      RequestDispatcher dispatcher = this.getServletContext().getRequestDispatcher(page);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.