你的<select>标记中有没有取过名字,即像下面这样的形式的:
<select name = "名字" ………………>
================================================================                  我和孤单有个约会

解决方案 »

  1.   

    <select id = "XX" ………………>
      

  2.   

    to zbc:我的select 是有name的啊?为什么?
    to : smartzhang,id 是什么?我怎么引用?
      

  3.   

    你最好用Bean做它的属性,这样就没问题了。
      

  4.   

    附上:
     public void SetselectName(String setselectName)
      {
          if(setselectName==null)
               this.setselectName="";
          else
               this.setselectName=setselectName;
      }
      public String getSetselectName()
      {
          return setselectName;
      }