title: Passing an array from javascript to servlet
body: <p>I have a number of check boxes on my JSP page. I need to pass ids of all the check boxes to my servlet so that i can perform some database operations. I thought that i can create an array in my javascript function placed in a different .js file which would store these ids and then pass the array to my servlet.
  But i m not able to figure out how to apply this concept. </p>