Delete or put methods in thymeleaf

后端 未结 5 898
情歌与酒
情歌与酒 2021-02-05 15:52

I would like to call @RequestMapping(value = \"\", method = RequestMethod.DELETE) in spring from thymeleaf form.

Is there any possibility to call delete or

5条回答
  •  一向
    一向 (楼主)
    2021-02-05 16:48

    I am currently doing research on this subject. As far as I understand, we can perform these operations without the need to use PUT or DELETE methods. So you may not need to use JavaScript or anything else. These operations can be done using only Thymeleaf, HTML and Spring.

    If someone has come here for this and is looking for such a solution, please check the post at this address. It was useful for me.

    Here's link: Spring Boot CRUD Thymeleaf

提交回复
热议问题