Check out example codes for "path in spring form". It will help you in understanding the concepts better.

Code Example 1

// The path attribute is bound into java properties using java beans convention.
// For example for following form:
<form:form method="post" modelAttribute="theStudent">
  Name: <form:input type="text" path="name"/>
  Cool?: <form:input type"checkbox" path="cool"/>
// And following controller handler method:
public String updateStudent(@ModelAttribute("theStudent") Student student) {
  // ...
// Will bind automatically if the Student class is defined with following properties:
public class Student {
  private String name;
  public String getName() { return; }
  public void setName(String name) { = name; }

  private boolean cool;
  public boolean isCool() { return; }
  public void setCool(boolean cool) { = cool; }

Learn ReactJs, React Native from