Relative Content

Tag Archive for javaspring-bootjspspring-form

Spring JSP pass object from list to post-endpoint

I have a spring-controller with a post-endpoint that receives a WordDto. Another get-endpoint puts a list of WordDtos in the ModelMap and shows a jsp-file. In the jsp-file, I show each entry of the list in a row of a table. Each row has additionally a button, that should call the post-endpoint with the WordDto for that row.