final String newLanguage = request.getParameter("newLanguage"); final String newCountry = request.getParameter("newCountry"); final String newInstitution = request.getParameter("newVariant");  request.getSession(false).setAttribute(Globals.LOCALE_KEY, new Locale(newLanguage, newCountry, newInstitution));
final Locale locale = constructNewLocale(request); request.getSession(true).setAttribute(Globals.LOCALE_KEY, locale);
    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws Exception {        final String newLanguage = request.getParameter("newLanguage");        final String newCountry = request.getParameter("newCountry");        final String newInstitution = request.getParameter("newVariant");        request.getSession(false).setAttribute(Globals.LOCALE_KEY, new Locale(newLanguage, newCountry, newInstitution));        final String windowLocation = request.getParameter("windowLocation");        ActionForward actionForward = new ActionForward();        actionForward.setContextRelative(true);        actionForward.setName(windowLocation);        actionForward.setPath(windowLocation);        actionForward.setRedirect(true);        return actionForward;    }