iid是什么字段
不要加单引号

解决方案 »

  1.   

    sql语句的关联错误吧
    sql="select * from insurancetype where iid in (select insuranceco.1 from insuranceco order by id asc) order by iid asc";
      

  2.   

    错误信息如下:
    org.apache.jasper.JasperException: Operation not allowed after ResultSet closed
    id及iid的类型均是tinyint(10)。
      

  3.   

    sql="select * from insurancetype where iid in (select insuranceco.1 from insuranceco order by id asc) order by iid asc";
    这个用法不错,原来用过,现在搞忘记了。
    但结果怎么显示出来呢??谢谢!!