head.jsp:
<%@ page language="java" pageEncoding="UTF-8"%>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="${ctx}/css/base.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/index.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/styles.css" rel="stylesheet" type="text/css" />
<%-- <link href="${ctx}/css/login/styles.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/css/resource/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
<link href="${ctx}/css/resource/axure_rp_page.css" type="text/css" rel="stylesheet"/> --%>
<script type="text/javascript" src="${ctx}/js/common/jquery-v1.10.2.js"></script>
<script type="text/javascript" src="${ctx}/js/common/common.js"></script>
<script type="text/javascript" src="${ctx}/js/common/vue-resource.js"></script>
<script type="text/javascript" src="${ctx}/js/common/vue.min.js"></script>
<script type="text/javascript" src="${ctx}/js/common/index.js"></script>
<script type="text/javascript" src="${ctx}/js/common/vue-router.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-resource@1.5.1"></script>
在其他页面引入:<%@ include file="/view/header.jsp" %>