首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

怎么获取<html:options> collection中某一选项的值

2011-12-07 
如何获取html:options collection中某一选项的值大家好,现有如下代码:html:select propertyidhtml

如何获取<html:options> collection中某一选项的值
大家好,现有如下代码:
<html:select property="id">
  <html:options collection="employees" property="empID" labelProperty="name" />
</html:select>

而我要取出这个下拉列表中的某一项的值,如何实现呢?谢谢

[解决办法]
你在网页中访问这个页面,然后查看源代码,里面就有值了

热点排行