I have any array called query[]
query[]
I am opening a new window with:
window.open(\"http://localhost:8081/myapp/Query.action\",\"mywindow\",\"me
You can also pass it on the URL as well, for example:
window.open("http://localhost:8081/myapp/Query.action?arr=" + query.join(","), "mywindow", ...
This will pass it as comma separated list that can be read in the target page.