首页上一页 1 下一页尾页 1 条记录 1/1页
jsp项目开发案例全程实录第五章
发表在JavaWeb图书答疑
2016-03-28
是否精华
是
否
版块置顶:
是
否
我想用mysql代替sql数据库,改写了applicationContext.xml里的数据库连接之后,使用功能出现
Exception report
message An exception occurred processing JSP page /department_query.jsp at line 29
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 /department_query.jsp at line 29
26: list=(List)request.getAttribute("list");
27: int pagesize=15; //指定每页显示的记录数
28:
29: list=pagination.getInitPage(list,Page,pagesize); //初始化分页信息
30: }else{
31: Page=pagination.getPage(str);
32: list=pagination.getAppointPage(Page); //获取指定页的数据
登陆模块还是可以使用的。
Exception report
message An exception occurred processing JSP page /department_query.jsp at line 29
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 /department_query.jsp at line 29
26: list=(List)request.getAttribute("list");
27: int pagesize=15; //指定每页显示的记录数
28:
29: list=pagination.getInitPage(list,Page,pagesize); //初始化分页信息
30: }else{
31: Page=pagination.getPage(str);
32: list=pagination.getAppointPage(Page); //获取指定页的数据
登陆模块还是可以使用的。