<html:select property="" styleClass="txtFill_1Line">
<option value="01"><bean:message /></option>
</html:select>
<option value="01"><bean:message /></option>
</html:select>
解决方案 »
- 如果获取html经过转码后的中文
- 搭建的struts2框架,为什么拿不到message="你好!Struts2!"的值呢
- ORACLE ROUND对number类型的字段进行四舍五入处理后保留一位小数,再用ResultSetMetaData.getScale获得是0,为什么?
- 怎样才能让自己的网站在公网上可以被访问到?
- 急!!页面跳转的问题,搞了很久了
- 求救 :ORACLE 存储过程
- Spring mvc 跳转后路径问题,求解,
- 请给一个客户端用jndi查找userTransaction接口的程序写法,谢谢(用的weblogic服务器)
- 对应struts中struts-config.xml的配置不太明白
- 包的问题
- Hibernate中 方法链的调用顺序
- struts文件上传问题
1.<%
2. java.util.Vector ageCollection = new java.util.Vector();
3. ageCollection.add( new org.apache.struts.util.LabelValueBean("60-70", "d"));
4. ageCollection.add( new org.apache.struts.util.LabelValueBean("70-80", "e"));
5. pageContext.setAttribute("ageCollection", ageCollection);
6.%>
7.年龄:
8.<html:select property="age">
9. <html:option value="a">0-19</html:option>
10. <html:option value="b">20-49</html:option>
11. <html:option value="c">50-60</html:option>
12. <html:options collection="ageCollection" property="value" labelProperty="label" />
13.</html:select>注意看行5和行12你就明白了!