public String deleteGroupRule() { String[] ids = getParaArrayValue("checkbox"); if (ids != null && ids.length > 0) { CompGroupRuleDao dao = new CompGroupRuleDao(); try { dao.delete(ids); } catch (Exception e) { e.printStackTrace(); } finally { dao.close(); } } return groupRuleList(); }