Home >Web Front-end >HTML Tutorial >关于页面刷新问题_html/css_WEB-ITnose

关于页面刷新问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 08:50:531119browse

制作网页的时候,页面上的表格在刷新之后会变成两个。


像图片上一样会变成两行。



${teacherCheckStudentList.title}
${teacherCheckStudentList.realname}
${teacherCheckStudentList.resultId}
同意






try {
List teacherCheckStudentList = new ArrayList();
teacherCheckStudentList = userService.tCS(teaId);
ActionContext.getContext().getSession().put("TeacherCheckStudentList", teacherCheckStudentList);
result = "teacherCheckStudent";
} catch (Exception e) {
return ERROR;}


回复讨论(解决方案)

个人觉得 你应该在每次执行前 先把list清空下,再赋值

你的list要放在方法里面定义

楼上正解。竟然没发现,纠结了两天。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn