```<%@page import="cn.itauc.dao.StudentDao"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri= "http://java.sun.com/jsp/jstl/core" prefix= "c" %>
<%@ page import="cn.itcauc.dao.impl.*" %>
<%@ page import="cn.itcauc.dao.*" %>
<%@ page import="cn.itcauc.domain.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
学号:
姓名:
性别:
班级:
${s.snumber}
${s.sname}
${s.sex}
${s.sclass}
修改
删除
/c:forEach
```@SuppressWarnings("unchecked")
@Test
public List<Student> getAll() {
String hql = "from Student";
List<Student> list =(List<Student>)getHibernateTemplate().find(hql);
return list;
}
```HTTP Status 500 - An exception occurred processing JSP page /student/list.jsp at line 18
type Exception report
message An exception occurred processing JSP page /student/list.jsp at line 18
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /student/list.jsp at line 18
15: