Question: how to send form data to controller in spring?
Answer: HTML. <form action="/test" method="post"> f name:<input name="fname" value="yosi"/><br> L name:<input name="lname" value="lev"/><br> <input type="submit"/> </form> APPLICATION MAIN. @SpringBootApplication public class ApplicationMain { public static void main(String[] args) { SpringApplication. ...  CONTROLLER.