<script type="text/javascript">
window.jQuery
|| document
.write("<script src='${pageContext.request.contextPath}/script/assets/js/jquery-3.2.1.min.js'>"
window.jQuery
|| document
.write("<script src='${pageContext.request.contextPath}/script/assets/js/jquery-3.2.1.min.js'>"
+ "<"+"/script>");
</script>
添加jQuery插件
虽然老,但是好用。