I've a method that returns a 2d-array in java : public Object[][] getArray1() {}
I used println()
to print it's content and i see that its well created.
On Javascript i assign this array to a var
:
var content ="#{BDEStats.getArray1()}";
But i dont seem able to acess it's data. it always returns java.Lang.object; @...
How can i do to display the content this array holds?
I've tried to cycle the array but i dont know how to refer to the objects it is holding. if i use content[1]
to returns a char in that índex..! Kinda lost here