Can anyone please explain how path attribute works in binding objects from a html form to a Java class in Spring. I am newbie to spring web framework please help.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Long story short the path attribute is bound into java properties using java beans convention. For example for following form:
And following controller handler method:
Will bind automatically if the Student class is defined with following properties:
More info of the JavaBeans convetion is available at section 8.3 of the specification document.