SpringMVC踩坑:HTTP Status 405 - Request method 'GET' not supported错误

今天在做项目的时候,在a链接后面拼接了一串参数,然后运行,结果浏览器显示:

HTTP Status 405 - Request method 'GET' not supported

解决方法:
将springMVC中对应的controller中的请求方法改成GET:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_37856300/article/details/85323218