Spring MVC Form: data binding of a list of abstract class
问题 I've inherited some code that I need add functionality to and it involves a program built on Spring and Spring Form with a list and binding abstract elements So we have an abstract class like the following public abstract class A { private int id; private String name; private int type; ....getters and setters below } And a few implementations such as public class AImplOne extends A { private String text; ...getters, setters etc } public class AImplTwo extends A { private int mediaID; ..