Folks- I'm stuck with a seemingly very simple problem.
I have a List<MyType> set to the Request from a
servlet (actually to the Model in a Spring Controller).
In the JSP/JSTL, I'm trying to create an HTML SELECT/OPTION like this:
This results in the following exception:
I tried a variation; prepended 'param' to the request bound object:
The page is rendered (no exceptions) but neither the <SELECT> is 'disabled' if the list contains only 1 element
nor an <OPTION>--Please select--</OPTION> is added when the list contains more than 1 item. In other words the tests
are never evaluated.
What am I missing? please help.
I tried == and > instead of 'eq' and 'gt' to no avail.
Thanks.