title: how can i send in jsp page with javascript or jquery to spring controller (with use <a href=> tag)?
body: <p>I'd like to know about javascript to send spring controller with use <code>&lt;a&gt;</code> tag.</p>
  
  <pre><code>&lt;jsp page&gt;
  
  &lt;a link="#" onClick="jsFunctionName()"&gt;Post_a_link&lt;/a&gt;
  &lt;form name="form_Name" method="post"&gt;
  &lt;input type="checkbox" name="check_Box" value="(somethings else values..)"/&gt;
    &lt;input type="checkbox" name="check_Box" value="(somethings else values..)"/&gt;
    &lt;input type="checkbox" name="check_Box" value="(somethings else values..)"/&gt;
  &lt;/form&gt;
  
   function jsFunctionName(){
    document.form_Name.action="/spring_Controller.do";
    document.getElementsByName("check_Box").checked.submit();
  </code></pre>
  
  <p>then "Chrome," said to me " Cannot read property 'submit' of undefined"</p>
  
  <p>help me to fix this error.........thanks... </p>