设为disabled的html控件不为提交,你设为readonly就可以了.

解决方案 »

  1.   

    mzhanker(海风) 
    我刚才试了一下,根本没有readonly这个属性呀!
      

  2.   

    <html:select>中没有readonly的属性!
      

  3.   

    另加一个hidden 类型的input就可以了
    disabled后是不能传参数的
      

  4.   

    我试过了!虽然可以传参数,但是disabled的效果就没有了,变成可更改的了!还有一个问题请教:
    <html:select property="type">
      <html:options collection="newsType"
                    property="phraseId"
                    labelProperty="phrasedSec"/>
      </logic:present>
    </html:select>
    我如何在Action里面取得labelProperty的值?