@Override public String execute() throws Exception { int scid = 0; if (ActionContext.getContext().getSession().get("id") != null) { scid = Integer.parseInt(ActionContext.getContext().getSession().toString()); } setScorelist(scoreService.loadScore()); setStu(studentService.loadStudentById(scid)); return SUCCESS; }