コード例 #1
0
  public int doStartTag() throws JspException {

    personnelMgr = (PersonnelMgr) pageContext.getSession().getAttribute("personnelMgr");

    iterator = personnelMgr.getCurrentEmployee().getSpecialSkillList().iterator();
    if (personnelMgr.getCurrentEmployee().getSpecialSkillList().size() == 0) {
      return SKIP_BODY;
    }

    return IterationTag.EVAL_BODY_AGAIN;
  }