@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;
  }
  public String myScore() throws Exception {
    int scid = 0;
    try {
      if (ActionContext.getContext().getSession() != null) {
        scid = Integer.parseInt(ActionContext.getContext().getSession().get("id").toString());
      }
      setStu(studentService.loadStudentById(scid));
      return "myscore";

    } catch (Exception e) {
      return ERROR;
    }
  }