* 赋值 EndDate. * */
public void setPubDate(String EndDate) { = EndDate;
}
public String getDescription() { return Description; } /**
* 赋值 Description. * */
public void setDescription(String Description) { = Description; } /**
* 返回 Requirements. * */
public String getRequirements() {
return Requirements;
} /**
* 赋值 Requirements. * */
public void setRequirements(String Requirements) { = Requirements;
} /**
* 返回 JobNum. * */
public int getJobNum() { return JobNum; } /**
* 赋值 JobNum.
public void setJobNum(int JobNum) { = JobNum; }
}
public ActionForward execute(
ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
etAttribute;
DB db = new DB(dataSource); etName());
public int doEndTag() throws JspException {
boolean valid = false; HttpSession session = ();
//判断session中是否有用户信息存在 if ((session != null) && (name) != null)) valid = true; if (valid)
return (EVAL_PAGE); else { try {
(page); //用户不存在则跳转到指定的页面
//如果用户存在则不做任何处理
} catch (Exception e) {
throw new JspException());
}
return (SKIP_PAGE); //执行跳转
}
}
public int doStartTag() throws JspException {
return (SKIP_BODY);
}
public String getName() {
return ;
}
public String getPage() {
return ;
}
public void release() { ();
= \ = \ }
public void setName(String name) {
= name;
}
public void setPage(String page) {
= page; }
return 0; }