当前位置: 代码迷 >> J2EE >> 提示:An exception occurred processing JSP page的有关问题!
  详细解决方案

提示:An exception occurred processing JSP page的有关问题!

热度:320   发布时间:2016-04-22 02:47:24.0
提示:An exception occurred processing JSP page的问题!!急
org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 54

51: PageService pageservice=new PageService();
52: pagebean=pageservice.getPageBean(currpage,linenum);
53: TrainService trainservice=new TrainService();
54: ArrayList list=trainservice.getTraininfo(currpage,linenum,pagebean.getRecordnum());
55: if(list.size()!=0){
56: Iterator it=list.iterator();
57: while(it!=null&&it.hasNext()){



------解决方案--------------------
ArrayList list=trainservice.getTraininfo(currpage,linenum,pagebean.getRecordnum());
这个方法里面报错,你断点调试或打印一下传进去的值是否是预期的,初步估计pagebean.getRecordnum()可能没取到值
代码迷推荐解决方案:An exception occurred processing JSP page,http://www.daimami.com/search?q=33144
  相关解决方案