前端到后端------HTTP Status 404 (The requested resource is not available)
2018-02-23 14:24
507 查看
报错如图:
重点注意一下message:我没设置getSelectProducts.jsp,就一ajax前端请求,怎么会牵扯到jsp呢?
问题在此:
加上@ResponseBody就可以了,否则识别为ModelAndView就会默认找jsp;
重点注意一下message:我没设置getSelectProducts.jsp,就一ajax前端请求,怎么会牵扯到jsp呢?
问题在此:
加上@ResponseBody就可以了,否则识别为ModelAndView就会默认找jsp;
相关文章推荐
- HTTP Status 404(The requested resource is not available)的几种解决方案
- HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404 - The requested resource (/Test/loginSerlet) is not available.
- HTTP Status 404(The requested resource is not available)
- 前端到后端------HTTP Status 405 ( The specified HTTP method is not allowed for the requested resource )
- 分享HTTP Status 404(The requested resource is not available)的几种解决方案
- 在IE浏览器输入测试servlet程序报:HTTP Status 404(The requested resource is not available)错
- HTTP Status 404(The requested resource is not available)的几种解决方案
- HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404 /arcgis/rest: The requested resource (/arcgis/rest/) is not available
- 转:HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404(The requested resource is not available)异常解决
- struts2项目中:HTTP Status 404 - The requested resource is not available.
- 分享HTTP Status 404(The requested resource is not available)的几种解决方案解决方法
- HTTP Status 404(The requested resource is not available)的几种解决方案
- 8、arcserver中出现Error: HTTP Status 404 /arcgis/rest: The requested resource (/arcgis/rest/) is not available
- HTTP Status 404(The requested resource is not available)的几种解决方案(转)
- HTTP Status 404 - The requested resource is not available.