private void createCurrDirection(SessionRequestContent request) {
        Direction currDir = (Direction) request.getSessionAttribute(JSP_CURRENT_DIRECTION);
        if (currDir == null) {
            currDir = new Direction();
            currDir.setDescription(new Description());
            currDir.setTourType(new TourType());
            currDir.setTransMode(new TransMode());
        }
        currDir.setName(request.getParameter(JSP_DIRECTION_NAME));
        currDir.setPicture(request.getParameter(JSP_DIRECTION_PICTURE));
        currDir.setText(request.getParameter(JSP_DIRECTION_TEXT));
        currDir.getDescription().setText(request.getParameter(JSP_DESCRIPTION_TEXT));
        String tourType = request.getParameter(JSP_CURR_TOUR_TYPE);
        if (tourType != null && !tourType.isEmpty()) {
            currDir.getTourType().setIdTourType(Integer.decode(tourType));
        }
        String transMode = request.getParameter(JSP_CURR_TRANS_MODE);
        if (transMode != null && !transMode.isEmpty()) {
            currDir.getTransMode().setIdMode(Integer.decode(transMode));
        }
        request.setSessionAttribute(JSP_CURRENT_DIRECTION, currDir);
    }