set data from string array
Hi,
I want to set the items of a list control from a string array. I am using jsp to attempt to accomplish this:
<%
// Pretend this string array has text in it.
String[] s = new String(3);
%>
<script>
obj.setItemText(s);
</script>
Everytime I run this the list shows up empty. But I can print out the contents of the array and there are definitely values in there. What must I change?
Thanks
I want to set the items of a list control from a string array. I am using jsp to attempt to accomplish this:
<%
// Pretend this string array has text in it.
String[] s = new String(3);
%>
<script>
obj.setItemText(s);
</script>
Everytime I run this the list shows up empty. But I can print out the contents of the array and there are definitely values in there. What must I change?
Thanks
markw
March 12,