protected void showSelectedHotel(SessionRequestContent request) {
        String selected = request.getParameter(JSP_SELECT_ID);
        Hotel currHotel = null;
        if (selected != null) {
            Integer idHotel = Integer.decode(selected);
            if (idHotel != null) {
                List<Hotel> list = (List<Hotel>) request.getSessionAttribute(JSP_HOTEL_LIST);
                Iterator<Hotel> it = list.iterator();
                while (it.hasNext() && currHotel == null) {
                    Hotel hotel = it.next();
                    if (Objects.equals(hotel.getIdHotel(), idHotel)) {
                        currHotel = hotel;
                        request.setAttribute(JSP_CURR_ID_HOTEL, idHotel);
                    }
                }
            }
        }
        request.setSessionAttribute(JSP_CURRENT_HOTEL, currHotel);
    }