This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
if you have your array values are coming from your action (as a collection, arraylist, map, etc.), iterate through the them using logic:iterate or c:forEach INSIDE the <script...> tag to construct the js arrays then proceed with the js business as usual.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>