protected void showSelectedCountry(SessionRequestContent request) {
        String selected = request.getParameter(JSP_SELECT_ID);
        Country currCountry = null;
        if (selected != null) {
            Integer idCountry = Integer.decode(selected);
            if (idCountry != null) {
                List<Country> list = (List<Country>) request.getSessionAttribute(JSP_COUNTRY_LIST);
                Iterator<Country> it = list.iterator();
                while (it.hasNext() && currCountry == null) {
                    Country country = it.next();
                    if (Objects.equals(country.getIdCountry(), idCountry)) {
                        currCountry = country;
                        request.setAttribute(JSP_CURR_ID_COUNTRY, idCountry);
                    }
                }
            }
        }
        request.setSessionAttribute(JSP_CURRENT_COUNTRY, currCountry);
    }