<%@ include file="/WEB-INF/views/common/bottomStatic.jsp" %>
<!-- 本页面的增删改查操作的js -->
<script type="text/javascript" src="http://www.likecs.com/static/system/js/article/article.js"></script>
</body>
</html>
抽出去的布局
bottomStatic.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!-- Essential javascripts for application to work-->
<script src="http://www.likecs.com/static/system/js/jquery-3.3.1.min.js"></script>
<script src="http://www.likecs.com/static/system/js/popper.min.js"></script>
<script src="http://www.likecs.com/static/system/js/bootstrap.min.js"></script>
<script src="http://www.likecs.com/static/system/js/main.js"></script>
<!-- The javascript plugin to display page loading on top-->
<script src="http://www.likecs.com/static/system/js/plugins/pace.min.js"></script>
<!-- Page specific javascripts-->
<script type="text/javascript" src="http://www.likecs.com/static/system/js/plugins/chart.js"></script>
<script src="http://www.likecs.com/static/system/js/jquery.jdirk.js"></script>
<script src="http://www.likecs.com/static/system/js/jquery-form.js"></script>
<script src="http://www.likecs.com/static/system/js/form-setForm.js"></script>
header.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<header>
<a href="http://www.likecs.com/index.html">源码时代</a> <a
href="#" data-toggle="sidebar"
aria-label="Hide Sidebar"></a>
<!-- 导航条右边菜单-->
<ul>
<!-- 用户菜单-->
<li><a href="#"
data-toggle="dropdown" aria-label="Open Profile Menu"> <i
></i></a>
<ul>
<li><a href="http://www.likecs.com/system/logout">
<i></i> 退出
</a></li>
</ul></li>
</ul>
</header>
leftMenu.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<div data-toggle="sidebar"></div>
<aside>
<div>
<img
src="http://www.likecs.com/upload/1610442774664.jpg" alt="User Image">
<div>
<p>${user.nickName}</p>
</div>
</div>
<ul>
<li><a href="http://www.likecs.com/system/article/index">
<i></i> <span
>文章管理</span>
</a></li>
<li><a href="http://www.likecs.com/system/slide/index">
<i></i> <span
>轮播管理</span>
</a></li>
<li><a href="http://www.likecs.com/system/faq/index">
<i></i> <span
>常见问题管理</span>
</a></li>
<li><a href="http://www.likecs.com/system/feedbacks/index">
<i></i> <span
>好评如潮管理</span>
</a></li>
</ul>
</aside>
topStatic.jsp