初学struts的小问题 我用JB也那样,但运行没什么问题的!预览时所有的STRUTS标签都显示不出来~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html:select property="combo" styleClass="dataTable_querySelect"> <logic:present name="comboList" scope="request"> <html:options collection="comboList" property="value" labelProperty="label"/> </logic:present></html:select>comboList是一个collection,里面有放的是bean,bean有两个属性value,label,分别存value和text。然后在把collecttion塞到request中。 eclipse就不能预览<html:selec>的内容吗 struts标签中内容是通过<html:select property="combo" styleClass="dataTable_querySelect">这种类似的方式赋值的!你预览的时候,他的属性都是空值!当然显示不出内容了! <html:select style="width:80%" name="aasd" property="dddd" size="5"> <html:option value="sdfffffsdf">sd</html:option> <html:option value="sdfsdfsdf">ssc</html:option> <html:option value="asdasd">ss32</html:option> <html:option value="asdasd54">ssdc</html:option> <html:option value="asdaseee">ssd</html:option> </html:select>预览的时候不能显示option的内容? <html:select property="combo" styleClass="dataTable_querySelect"> <logic:present name="comboList" scope="request"> <html:options collection="comboList" property="value" labelProperty="label"/> </logic:present></html:select>用遍历就不能预览~象楼上的把下拉列表写死这样的应该可以 常量写在自己定义的类里好,还是写在property里好。 jsp与flash,powerpoint相结合的问题 Spring的小问题 Apache/2.4.7 对应的mod_jk tomcat的整合模块谁有呀? spring处理blob字段问题 想找公司实习(杭州) 急,100分解决这个疑惑 一怪问题 Jboss+Mysql开发CMPBean配置经验总结 Jbuilder如何连接到SQL Server的问题::::::: struts in action 中 register-complete的问题,希望各位帮助,在线等 谁知道这段代码是在调用web服务吗? 服务端该怎么写呢?
<logic:present name="comboList" scope="request">
<html:options collection="comboList" property="value" labelProperty="label"/>
</logic:present>
</html:select>comboList是一个collection,里面有放的是bean,bean有两个属性value,label,分别存value和text。然后在把collecttion塞到request中。
这种类似的方式赋值的!你预览的时候,他的属性都是空值!当然显示不出内容了!
<html:option value="sdfffffsdf">sd</html:option>
<html:option value="sdfsdfsdf">ssc</html:option>
<html:option value="asdasd">ss32</html:option>
<html:option value="asdasd54">ssdc</html:option>
<html:option value="asdaseee">ssd</html:option>
</html:select>
预览的时候不能显示option的内容?
<logic:present name="comboList" scope="request">
<html:options collection="comboList" property="value" labelProperty="label"/>
</logic:present>
</html:select>
用遍历就不能预览~象楼上的把下拉列表写死这样的应该可以