common.jsp中
<html>
<body>
<div class="slim-footer">
<div class="container">
<p> <a href="#"><i class="fa fa-facebook-official" aria-
hidden="true"></i></a> <a href="#"><i class="fa fa-twitter-square" aria-
hidden="true"></i></a> <a href="#"><i class="fa fa-linkedin-square" aria-
hidden="true"></i></a> <a href="#"><i class="fa fa-google-plus-square" aria-
hidden="true"></i></a>
</p>
</div>
<!-- container -->
</div>
<script src="<c:url value="/resources/design/lib/jquery/js/jquery.js"/>">
</script>
<script src="<c:url
value="/resources/design/lib/bootstrap/js/bootstrap.js"/>"></script>
<script src="<c:url value="/resources/design/js/angular.min.js"/>"></script>
<script src="<c:url value="/resources/design/utilJs/headerfunction.js"/>">
</script>
</body>
</html>
temp.jsp
</div>
<%@include file='common.jsp'%>
</body>
<script src="<c:url value="/resources/design/temp.js"/>"></script>
描述
Now, I'm working in web project where headerFunction.js in common.jsp page
在temp.jsp页面中包含common.jsp页面时,无效。但是该页面中的temp.js工作.Kindly分享一些想法让两个j都工作。谢谢提前