当我们在通过User的id来确定是添加操作(POST提交方式)还是修改操作(PUT提交方式)的时候

这时候form中的th:href应该是th:action,而不应该继续用th:href(post方式是可以请求成功的)

Request method 'PUT' not supported

Request method 'PUT' not supported

相关文章:

  • 2022-12-23
  • 2021-10-22
  • 2021-07-27
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-03
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-08-21
相关资源
相似解决方案