已采纳回答 / 黑衣剑士z
完全可以,在实际开发中也建议将所有公共部分的都放到 head.jsp、feet.jsp、common.jsp 中去,而某个具体页面只引入该页面特定需要的js文件。这里可能只是老师没写规范罢了 :)
2018-05-06
最新回答 / 无法绑定
路径问题,前面要加/seckill/或者加<%=basePath %>不过如果用后面一种要在jsp文件开头部分第二行加上<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> ,否则这个basePath要报错
2018-05-05
最新回答 / 魄弹兽
已解决,漏写了 这句.....
<?xml version="1.0" encoding="UTF-8"?> 但是启动服务器一直是404 The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
2018-05-03