This is my code in A.jsp
$.ajax({
method: "GET",
url: "getMilestone",
data: {"projectId" : projectId},
traditional: true,
success:
function(jsonArry){
alert(jsonArry);
window.location.href = "<%=request.getContextPath()%>/B.jsp?jsonArry="+jsonArry;
},
error:
function(){
alert("fail");
}
});
It gives below alert
The fact I want want to know is How can I retrieve this JSON array in B.jsp?