提示:
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.myexception.cn/j2se/33144.html