public void processRequest(HttpServletRequest req, HttpServletResponse res)
            throws ServletException, IOException {

        FrontCommand command;
        try {
            command = getCommand(req);
            command.init(getServletContext(), req, res);
            command.process();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }