你还能显示,我的<select property="unitVoucher"><option value="$">dollar</option>
<option value="%">percent</option></select>
我form中有unitVoucher直为%,但是他死人只显示dollar,各位有什么简单方法没有。
<option value="%">percent</option></select>
我form中有unitVoucher直为%,但是他死人只显示dollar,各位有什么简单方法没有。
<html:select property="PHASE_REPORT">
<html:option value="">----</html:option>
<html:option value="周报">周报</html:option>
<html:option value="月报">月报</html:option>
<html:option value="完成报告">完成报告</html:option>
</html:select>
是不是struts中有区别呢?
<%
while(rs.next()){%>
<html:option value="<%= rs.getString("CATEGORY_ID") %>"><%= rs.getString("CATEGORY_DESC") %></html:option>
<%}%>
</html:select>
参考一下这个吧
<%
while(rs.next()){
%>
<html:option value="<%= rs.getString("CATEGORY_ID") %>"><%= rs.getString("CATEGORY_DESC") %></html:option>
<%}%>
</html:select>
<option><bean:write name="manageForm" property="lanmu"/></option>
<option>文件</option>
<option>国家</option>
<option>教育</option>
</select>