这个错误好像是缺少struts标签库的jar包

解决方案 »

  1.   


    换这个
    <html:options       collection="list"     property="id"     labelProperty="cityName"/> 
      

  2.   

    一般遇到select 问题 我都不用html:select
    用基本select标签即可,而且更好与js交互
      

  3.   


    首先,select list 的集合必须来自form
    所以要在你那个CityForm里面添加个List list 属性其次页面这么改:
    select 后面定义个bean:
    <bean:define id="jsplist" name="CityForm" property="list" type="java.util.List"/>
    然后options collection这么弄:
    <html:options collection="jsplist" property="id" labelProperty="cityName"/>最后,要保证你那个List里面的实体类里有id 和cityName的属性
      

  4.   

    LIST的获得应该在显示你的表单页面之前然后用转发到index.jsp