I am getting the problem whilw posting the arrays of values to the sping controller ...but i am getting error response..please Help anyone ..thank in advance

I am getting the problem whilw posting the arrays of values to the sping controller ...but i am getting error response..please Help anyone ..thank in advance

  $(document).ready(function(){
      $("#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);  
                } 
               }); 
      });