Using of @RequestParam

 public String handleForm(@RequestParam("email") String email,

                         @RequestParam("password") String password,
Model model){
System.out.println("Email: " + email);
System.out.println("Password " + password);
model.addAttribute("email", email);
model.addAttribute("password", password);
return "contactSucess";
}

Comments

Popular posts from this blog