protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        String page;
        try {

            AbstractCommand command = requestHelper.getCommand(request);
            page = command.execute(request, response);
        } catch (LogicException ex) {
           
          //  ProductsLogger.getInstance(this.getClass())
          //          .writeError(ex.toString());
            page = PageName.ERR_PAGE;
        } catch (ServletException e) {
           
        //    ProductsLogger.getInstance(this.getClass())
        //            .writeError(e.toString());
            page = PageName.ERR_PAGE;
        }
        if (page != null) {
            RequestDispatcher dispatcher =
                    getServletContext().getRequestDispatcher(page);
            
            dispatcher.forward(request, response);
        }

    }