jsp加载jquery报错:Failed to load resource: the server responded with a status of 404 (Not Found)
昨天页面疯狂报错,一直提示无法加载jquery文件。今天才反应过来,项目是用springmvc的框架,忘记设置静态资源放行导致报错。在springmvc配置文件加上如下一段话,放行对js文件夹下jquery的请求,页面就能正常使用了!<mvc:resources location="/js/" mapping="/js/**"></mvc:resources>...