在提交响应后,java.lang.IllegalStateException:Nan
java.lang.IllegalStateException:不能在提交响应后转发
int noOfRows = Integer.parseInt(request.getParameter("noOfRows")); String chkboxVal = ""; // String FormatId=null; Vector vRow = new Vector(); Vector vRow1 = new Vector(); String GroupId = ""; String GroupDesc = ""; for (int i = 0; i < noOfRows; i++) { if ((request.getParameter("chk_select" + i)) == null) { chkboxVal = "notticked"; } else { chkboxVal = request.getParameter("chk_select" + i); if (chkboxVal.equals("ticked")) { fwdurl = "true"; Statement st1 = con.createStatement(); GroupId = request.getParameter("GroupId" + i); GroupDesc = request.getParameter("GroupDesc" + i); ResultSet rs1 = st1 .executeQuery("select FileId,Description from cs2k_Files " + " where FileId like 'M%' and co_code = " + ccode); ResultSetMetaData rsm = rs1.getMetaData(); int cCount = rsm.getColumnCount(); while (rs1.next()) { Vector vCol1 = new Vector(); for (int j = 1; j <= cCount; j++) { vCol1.addElement(rs1.getObject(j)); } vRow.addElement(vCol1); } rs1 = st1 .executeQuery("select FileId,NotAllowed from cs2kGroupSub " + " where FileId like 'M%' and GroupId = '" + GroupId + "'" + " and co_code = " + ccode); rsm = rs1.getMetaData(); cCount = rsm.getColumnCount();
阿晨1998
子衿沉夜
慕容森