Spring MVC jsp 嵌入子頁面的兩種方式

使用 jsp 渲染頁面時,能夠在頁面中嵌入(include)其餘 jsp 頁面。嵌入子頁面有兩種方式:javascript 靜態嵌入: <% @include file="include.jsp" %> 動態嵌入: <jsp:include page="include.jsp" /> 靜態嵌入 <% @include file="include.jsp" %>。使用這種方法時, html 靜態嵌入
相關文章
相關標籤/搜索