,but the problem is ,I have to send the arrays of values data to the Spring controller ,trough ajax ,Here I am Strucked Up...
$("#form1").submit(function(event) {
alert("Thank you for your comment!");
//event.preventDefault();
$.ajax({
type : "GET",
traditional: true,
url : "/security/twelvehrspattern.html",
data : "empidlist="+empidlist+"&empnamelist="+empnamelist+"&noofduties="+noofduties,
contentType: "application/json; charset=utf-8",
success : function(response) {
alert(response);
},
error : function(e) {
alert('Error: ' + e);
}
});
});