9596979899100101102103104105106107
return loginInfo; } public String doInit() { SampleUser user = getSession().getUser(); if (user != null) loginInfo.setName(user.getUserId()); // check webservice availability! checkWebService(); // Done
118119120121122123124125126127128
setActionError(Errors.InvalidPassword); return INPUT; } // Login SampleUser user = new SampleUser(userID, userName); user.setLocale(new Locale(loginInfo.getLocale())); getSession().setUser(user); // Done return SUCCESS; }
7879808182838485868788
return loginInfo; } public String doInit() { SampleUser user = getUser(); if (user!=null) loginInfo.setName(user.getUserId()); // Done return INPUT; }
979899100101102103104105106
setActionError(Errors.InvalidPassword); return INPUT; } // Login SampleUser user = new SampleUser(userID, userName); getSession().setUser(user); // Done return SUCCESS; }