private void showSelectedOrder(SessionRequestContent request) {
        String selected = request.getParameter(JSP_SELECT_ID);
        Order currOrder = null;
        if (selected != null) {
            Integer idOrder = Integer.decode(selected); 
            if (idOrder != null) {
                List<Order> list = (List<Order>) request.getSessionAttribute(JSP_ORDER_LIST);
                Iterator<Order> it = list.iterator();
                while (it.hasNext() && currOrder == null) {
                    Order order = it.next();
                    if (Objects.equals(order.getIdOrder(), idOrder)) {
                        currOrder = order;
                        request.setAttribute(JSP_CURR_ID_ORDER, idOrder);
                    }
                }
            }
        }
        request.setSessionAttribute(JSP_CURRENT_ORDER, currOrder);
    }