日期:2014-05-17 浏览次数:20784 次
java.lang.NumberFormatException: For input string: "on" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.bellsent.servlet.EditManagementServlet.doPost(EditManagementServlet.java:66) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source)
String dType = request.getParameter("dType"); String dIpAdd = request.getParameter("dIpAdd"); int dPort = Integer.parseInt(request.getParameter("dPort")); String dDescription = request.getParameter("dDescription"); String dUsrName = request.getParameter("dUsrName"); String dUsrPwd = request.getParameter("dUsrPwd"); int videoChannels = Integer.parseInt(request.getParameter("videoChannels")); String vch1 = request.getParameter("vch1"); String vch2 = request.getParameter("vch2");