It may have some typo here. But the point is this JSP page can dynamically ask user to pick one or more items (sometimes one, sometimes more, depending on if you are senior member). Now suppose we have a "FormBean" matching this JSP, should I
1) create two "FormBean" class, in first one I put "private String item;" and in second class I put "private Collection item;" ? 2) or should I ONLY create one "FormBean" class and just put "private Collection item" ? The single item case should be covered by it anyway.
I guess I should take approach 2), is that right ?