springboot 2.2.7 Theamleaf发送DELETE/PUT请求收到的都是post请求
1、我的页面和contrller
2、我的配置
问题:根据网上搜到的html和配置文件都修改了,但是每次还是会报错
3、根据源码发现 HiddenHttpMethodFilter类没有注入到容器中
4、所有就在自己的配置文件中加上了
5、重启后发现可以发送delete请求
1、我的页面和contrller
2、我的配置
问题:根据网上搜到的html和配置文件都修改了,但是每次还是会报错
3、根据源码发现 HiddenHttpMethodFilter类没有注入到容器中
4、所有就在自己的配置文件中加上了
5、重启后发现可以发送delete请求