jsp页面样式只有从别的页面跳转过来才显示,单独运行不显示
前端释迦果 2017-07-22 05:27:03 写了两个jsp页面,A.jsp表单提交后台验证通过后跳转B.jsp。
问题是:通过A跳转到B,B上的样式全部正常显示,可是单独运行B页面就没有任何样式,为什么啊?
我的js和css路径:
<script src="js/jquery-3.2.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/homeAjax.js"></script>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/font-awesome.css" rel="stylesheet">
<link href="css/font-change.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet">