错误总结

来源:互联网 发布:jdk1.8 linux 64 下载 编辑:程序博客网 时间:2024/05/16 09:17

[1]    action中 :

        request.setAttribute("guidelineSouListInfo", guidelineSouColl);

        guidelineSouColl经测试有值

       JSP页面中:

     

<logic:iterate id="guidelineSouList" name="guidelineSouListInfo" type="com.strongit.financesys.datacenter.guidelinesou.GuidelineSouForm">
      
<tr valign="bottom" bgcolor="#FFFFFF">
       
<td nowrap="nowrap" width="20" align="center" bgcolor="#D6D3CE" class="biankuang">
        
<%=i++%>
       
</td>
       
<td>
        
&nbsp;
        
<bean:write name="guidelineSouList" property="code" />
       
</td>
       
<td>
        
&nbsp;
        
<bean:write name="guidelineSouList" property="name" />
       
</td>
      
</tr>
     
</logic:iterate>

 

    错误症状:

    JSP页面中却没有列出想要得到的值

    错误原因:

     JSP页面中没有引用<%@include file="/WEB-INF/jsp/common/taglibs.jsp" %>[struts标签]

原创粉丝点击