struts,html:select 初始值value怎么没有起作用? 请用上<html:option/>标签,<html:select/>与<html:option/>是配对用的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 把这段改为:< html:option value="<bean:write name="hashData" property="<%=MtHanyoucd.CD_HANYOU%"/>"<html:option/>< html:option value="<bean:write name="hashData" property="<%=MtHanyoucd.NM_HANYOU%>"/><html:option/> 我加上<html:option value="<bean:write name="hashData" property="<%=MtHanyoucd.CD_HANYOU%>"/>"><bean:write name="hashData" property="<%=MtHanyoucd.NM_HANYOU%>"/><html:option/>出错to bxh2daiCD_HANYOU是作为select得code,NM_HANYOU用来显示给用户,这里不用循环不行是把? 我看有options..但是没有时间做实验了,struts网站的英文介绍没有看明白 <html:option value="<bean:write name="hashData" property="<%=MtHanyoucd.CD_HANYOU%>"/>"> <bean:write name="hashData" property="<%=MtHanyoucd.NM_HANYOU%>"/> </html:option>option得value现在是“<bean:write name="hashData" property="<%=MtHanyoucd.CD_HANYOU%>"/>”这个字符串了,而不是值 解决了 <html:select property="kinmuKBN" > <html:optionsCollection name="SC0104Form" property="listCdkinmuKBN"/> </html:select>其中listCdkinmuKBN是一个ArrayList listCdkinmuKBN中存放多个 new LabelValueBeanLabelValueBean有两个属性label,value可以自定义这个类,struts也提供了这个类目前我还没有试一试它的类名变了以后结构不变,struts标记是否还能认出来 jap过滤器的问题 怎么把xml文件转化成Document文件? JSP 显示验证码 有在中软国际工作的吗 java读取WINDOWS的进程列表,可以用纯JAVA实现吗?还是要用JNI调用DLL? 有些想法,不知道java中哪个类能实现! 问一个struts底层的问题,希望高手指点。 关于java applet 嵌入web的解决办法 EJB的持久化是什么?有大虾清楚吗? java ssh框架事务超时过期问题 weblogic+jbuilder2005如何单步调试EJB,有文档,请高手翻译一下 软件工程与项目实践
< html:option value="<bean:write name="hashData" property="<%
=MtHanyoucd.CD_HANYOU%"/>"<html:option/>< html:option value="<bean:write name="hashData" property="<%=MtHanyoucd.NM_HANYOU%>"/><html:option/>
<html:option value="<bean:write name="hashData" property="<%=MtHanyoucd.CD_HANYOU%>"/>">
<bean:write name="hashData" property="<%=MtHanyoucd.NM_HANYOU%>"/>
<html:option/>
出错to bxh2dai
CD_HANYOU是作为select得code,NM_HANYOU用来显示给用户,
这里不用循环不行是把? 我看有options..但是没有时间做实验了,struts网站的英文介绍没有看明白
<bean:write name="hashData" property="<%=MtHanyoucd.NM_HANYOU%>"/>
</html:option>
option得value现在是“<bean:write name="hashData" property="<%=MtHanyoucd.CD_HANYOU%>"/>”这个字符串了,而不是值
<html:select property="kinmuKBN" >
<html:optionsCollection name="SC0104Form" property="listCdkinmuKBN"/>
</html:select>其中listCdkinmuKBN是一个ArrayList
listCdkinmuKBN中存放多个 new LabelValueBean
LabelValueBean有两个属性label,value
可以自定义这个类,struts也提供了这个类
目前我还没有试一试它的类名变了以后结构不变,struts标记是否还能认出来