I am working in Play framework and I need to use Java array inside Javascript.
I tried the following -
var jsarray = ${javaArray};
Where javaArray is the array in the Java controller, being rendered to the HTML view.
But, it is not working. Can anyone please help me on this?