private FrontCommand getCommand(HttpServletRequest req)
            throws Exception {
        try {
            return (FrontCommand) getCommandClass(req).newInstance();
        } catch (Exception e) {
            throw new Exception();
        }
    }