<%@ page contentType="text/html;charset=gb2312"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<td>${user.stdentId}</td>
<td>${user.loginId}</td>
<td>${user.loginpwd}</td>
<td>${user.classId}</td>
<td> <a href="DeteleServlet?StdentId=${user.stdentId}">删除</a> </td>
<td> <a href="edit.jsp?StdentId=${user.stdentId}">编辑</a></td>
</tr>
</c:forEach>
</table>
改成
直接调用类就可以正常传值了,求解学生编号 | 登录名 | 登录密码 | 班级 |
编辑 |