Check out example codes for "neither bindingresult nor plain target object for bean name spring mvc". It will help you in understanding the concepts better.

Code Example 1

// In the controller, you need to add the object as an attribute of the model:
	model.addAttribute("login", new Login());
// Like this:
@RequestMapping(value = "/", method = RequestMethod.GET) 
public String displayLogin(Model model) { 
    model.addAttribute("login", new Login()); 
    return "login"; 
}

Learn ReactJs, React Native from akashmittal.com