如题。
我想手动添加一个默认空白的option,但是struts自动设置了个默认的选项,请问如何解决。<html:select property="topic">
<option value="" selected="selected">不属于任何项目</option>
<html:options property="items"/>
</html:select>
我想手动添加一个默认空白的option,但是struts自动设置了个默认的选项,请问如何解决。<html:select property="topic">
<option value="" selected="selected">不属于任何项目</option>
<html:options property="items"/>
</html:select>
<option value="" select="selected"></option>
<html:options property="items"/>
</html:select>就可以吧