日期:2014-05-16  浏览次数:20305 次

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.