<html:select property="test">
<html:option value="1">男</html:option>
<html:option value="2">女</html:option>
</html:select>
<html:option value="1">男</html:option>
<html:option value="2">女</html:option>
</html:select>
解决方案 »
- 基于oracle数据库的项目开发设计问题
- StringBuffer如何添加空格
- eclipse中怎么发布多个项目到同一个tomcat中????????
- J2EE项目 如何强制关机?
- 如何在validation.xml写密码验证
- 有人会用properties文件吗?
- Spring 强制类型转换的问题
- Myeclipes6.0 支持oracle驱动吗?急!急!
- java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource
- Spring boot怎么实现页面转发后获取上一个页面model里面的值
- struts标签怎么动态设置property参数?
- 我想学习一下jdo,请问怎么搭建平台?
<html:select property="test">
while(rs.next()){
<html:option value='<%=rs.getString()%>'><%=rs.getString()%></html:option>
}
</html:select>
<html:optionsCollection name="xblist" />
</html:select>其中xblist是一个基于struts的LabelValueBean的Collection
<html:select property="test">
while(rs.next()){
<html:option value='<%=rs.getString()%>'><%=rs.getString()%></html:option>
}
</html:select>
这种写法编译不通过
http://expert.csdn.net/Expert/topic/2808/2808299.xml?temp=.3831598
http://expert.csdn.net/Expert/topic/2673/2673856.xml?temp=.6826288
http://expert.csdn.net/Expert/topic/2252/2252645.xml?temp=.6023371