2
On a . jsp page, I have the following code:
String[] arrayRegioes = request.getParameterValues("numRegiaoUsuario");//objeto
When I print the arrayRegioes
, the value shown is:
[Ljava.lang.String;@5a879b45
Now, I need to turn a string that was made in the hand:
[55826586566, 54555555454, 994139792]
On an object array
, as the format of that informed above.
System.out.println(Arrays.toString(arrayRegioes))
will print the array correctly (i.e., will print the list of elements instead of[Ljava.lang.String;@5a879b45
).– Piovezan
Int or String array?
– Marco Souza