我用JB也那样,但运行没什么问题的!预览时所有的STRUTS标签都显示不出来~

解决方案 »

  1.   

    <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中。
      

  2.   

    eclipse就不能预览<html:selec>的内容吗
      

  3.   

    struts标签中内容是通过<html:select property="combo" styleClass="dataTable_querySelect">
    这种类似的方式赋值的!你预览的时候,他的属性都是空值!当然显示不出内容了!
      

  4.   

    <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的内容?
      

  5.   

    <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>
    用遍历就不能预览~象楼上的把下拉列表写死这样的应该可以