I'm fairly new to
JSP and I'm trying to send a Vector of Product objects to my forEach tag so I can create a table of each product. Each row will contain the Product members.
I use the forEach extensively and with great success on ArrayLists of strings and even vectors of strings and there seems to be no end of examples of using forEach with a single dimension
string array but I need to do it on an vector of objects containing members that I'll be accessing via EL.
Servlet code
The JSP Code
I keep getting the following error;
"Cannot convert [com.Layer.Types.Product@5e876450] of type class java.util.Vector to class [Ljava.lang.Object;"
I could really use some ideas about what I'm doing wrong.
Thanks!
John