qq_36142320
HermioneZhou
2017-11-23 14:48

想实现spring返回一个json串,结果总是显示404

  • spring

浏览器地址输入http://localhost:8080/spring-test/doGetUser.do。
错误是:HTTP Status 404 - /spring-test/WEB-INF/{"id":1,"name":"Li","age":45,"salary":3000.0,"hiredate":1509033600000}.jsp

type Status report

message /spring-test/WEB-INF/{"id":1,"name":"Li","age":45,"salary":3000.0,"hiredate":1509033600000}.jsp

description The requested resource is not available.

Apache Tomcat/7.0.67:。怎么解决?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

5条回答