posted 15 years ago
Java runs on the server, JavaScript runs on the client.
If you want to call some Java code, you would have to post back a page through a normal postback OR an Ajax call. OR you have to turn the ArrayList on the server into some sort of JavaScript code when the page first is rendered.
Eric