Perform this action. Set the language property in the UserBean
// read the parameter from the request
String language = req.getParameter(LANGUAGE_PARAM);
// set it in the UserBean
HttpSession session = req.getSession();
UserBean ub = (UserBean) session.getAttribute(LoginAction.USERBEAN_ATTR);
ub.setLanguage(language);
// we suceeded
return true;