首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

jsp中使用bean:include和c:import有关问题

2012-08-09 
jsp中使用bean:include和c:import问题c:if test${fundId!0}divc:importurl/company/fundstra

jsp中使用bean:include和c:import问题
   <c:if test="${fundId!='0'}">
        <div>
            <c:import
                    url="/company/fundstrategy.do?method=getFundInvestmentStrategy&peCvFund.fundId=${fundId}"></c:import>
        </div>

    </c:if>


<bean:include id="friendlink"
              page="/project/tradinglist.do?method=getProjectTradingList&peCvProject.projectId=${projectId}"/>


<bean:write name="friendlink" filter="false"/>


两种方式都可以把结果输出include过来,就是会出现jsp缓冲区满 flush的问题,jsp头加上

<%@page buffer="1000kb"%> 

设置缓冲区,it works.

热点排行