JSP 利用超链接页面转跳传值为空,如何解决

<%@ 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">



Insert title here







               <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>


改成

直接调用类就可以正常传值了,求解
学生编号登录名登录密码班级
编辑