0
<bean:write name="<%=(String) currentItr.next()%>" property="<%=(String) currentItr.next()%>"/>

The above code prints the values aka : Nicholas...$100000...45....Actor

How can i assgin Nicholas to a javascript variable?

I tried

var audition = <%=(String) currentItr.next()%>.<%=(String) currentItr.next()%>;

and it prints out the column header like so : Name...Salary...Age...Occupation

what am i doing wrong?

4

2 に答える 2