您的位置:首页 > Web前端 > JavaScript

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

2012-07-12 12:02 330 查看
   <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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  include import jsp bean c filter