I want to send an array of arrays to a java servlet via ajax, receive that data and go through it.
Ex:
var datos=[[1,2,3],[4,5,6],[7,8,9]];
$.ajax({
url: servlet,
dataType: 'json',
type: 'post',
data: { lista: datos },
success:function(){}
});
Send that by ajax to a servlet. How do I receive it and go through it in java?