I have a class called "user" and am trying to access an array of these guys that is set up in a
servlet with EL, and it appears that EL thinks that it is a
string.
Here is the servlet code where it is set up:
The user list (with a length of one for
testing purposes) seems OK in the servlet.
The getters user.getUserKey(), user.getUserID(), etc. are all defined, and set up as per the following example:
and here is the point in the
JSP where I'm trying to access it (the <option> tag and it's body):
The error I get is:
It *seems* that
tomcat thinks it's a string, instead of a user. This is the first time I've use EL or JSTL extensively, but thought type coercion would fix it.
Any insights?
TIA