Hi All,
I'm having issues with a for loop in .jsp. The second for loop in red will not post anything to the webpage. It will do work with variables. But when I try putting something like <%=employeeIDArray%> in the loop it does not work.
Any help is appriciated.
<%
String employeeIDArray[] = new String [200];
String employeeDESCArray[] = new String [200];
String id;
String desc;
for (int i = 0; i < empsSize; i++)
{
Employee emp = (Employee) emps.get(i);
id = emp.getId();
desc = emp.getName().getValue();
employeeIDArray[i] = id;
employeeDESCArray[i] = desc;
}
for (int i = 0; i < empsSize; i++)
{}
%>