I have to insert product details. I have multiple bean classes which are generated from tables but all the fields are in a single html form. How could I map those form elements to different bean classes and how could I get those form elements in controller?.
My Bean classes are
Category
private Long id;
private String description;
private String name;
ProductAttribute
private String description;
private String name;
CategoryAttributeMapping
private Category category;
private ProductAttribute productAttribute ;
Could any one help me?