private String custList;  String 型吗?
不是List或Vector 类型?

解决方案 »

  1.   

    <html:options collection="custList   
    页面接受可是集合类型阿
      

  2.   

    我把leftForm中custList的类型改为ArrayList,还是报一样的错误
      

  3.   

    <html:options collection="custList" property="CustId"
    labelProperty="CustName" />
    问题是不是出在这里啊?custId custName 在哪里?
      

  4.   

    这里是有错误,我用的是LabelValueBean,把代码改为
    <html:options collection="custList" property="value"
    labelProperty="label" />
    但还是报同样的错误
      

  5.   

    我明白问题出在什么地方了我是从http://localhost:9080/left.jsp访问页面,这时custList不存在,所以报错。改为从http://localhost:9080/left.do访问就行了。