请问一点重置按钮显示———请选择———??
<logic:notPresent name="rzlist">
<html:select property="RZKMID" styleClass="xlcd">
<options>--请选择--</options>
</html:select>
</logic:notPresent>
<logic:present name="rzlist">
<html:select property="RZKMID" styleClass="xlcd">
<html:options collection="rzlist" property="CLASST_ID" labelProperty="TITLE"/>
</html:select>
</logic:present>
<logic:notPresent name="rzlist">
<html:select property="RZKMID" styleClass="xlcd">
<options>--请选择--</options>
</html:select>
</logic:notPresent>
<logic:present name="rzlist">
<html:select property="RZKMID" styleClass="xlcd">
<html:options collection="rzlist" property="CLASST_ID" labelProperty="TITLE"/>
</html:select>
</logic:present>
注意页面最好也是html标签的
<html:html>
<html:reset></html:reset>
</html:html>
lz,struts标签的property就是id。运行后转换成html就是id了
<html:select property="sid" ></html:select>