jsp页面运行时报500错误。
org.apache.jasper.JasperException:AnexceptionoccurredprocessingJSPpage/admin/dd/tinfo...
org.apache.jasper.JasperException: An exception occurred processing JSP page /admin/dd/tinfo.jsp at line 161
158: if(!pagelist3.isEmpty()){
159: for(int i=0;i<pagelist3.size();i++){
160: List pagelist2 =(ArrayList)pagelist3.get(i);
161: f+=Float.parseFloat(pagelist2.get(13).toString());
162: %>
163: <tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
164: <td width='5%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NumberFormatException: For input string: "暂无"
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
java.lang.Float.parseFloat(Float.java:422)
org.apache.jsp.admin.dd.tinfo_jsp._jspService(tinfo_jsp.java:265)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 展开
158: if(!pagelist3.isEmpty()){
159: for(int i=0;i<pagelist3.size();i++){
160: List pagelist2 =(ArrayList)pagelist3.get(i);
161: f+=Float.parseFloat(pagelist2.get(13).toString());
162: %>
163: <tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
164: <td width='5%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NumberFormatException: For input string: "暂无"
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
java.lang.Float.parseFloat(Float.java:422)
org.apache.jsp.admin.dd.tinfo_jsp._jspService(tinfo_jsp.java:265)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询