title: How can i get checkbox values from struts2 checkbox in displaytag to action class
body: <p>I am working on <strong>struts2</strong> application in which i am using <strong>displaytag</strong> for pagination support.</p>
  
  <p>Now i want a check box for each row in the table for that  i am doing this.</p>
  
  <pre><code>&lt;display:table name="countryList" export="true" class="table" id="countryList" pagesize="${selectedPageSize}" decorator="org.displaytag.decorator.TotalTableDecorator" &gt;        
      &lt;display:column property="id"  title="ID" paramId="id" /&gt;
      &lt;display:column property="name" title="Name"  sortable="true"/&gt;
      &lt;display:column title="Delete All"&gt;
          &lt;s:checkbox  id="check" name="check" fieldValue="%{#attr.countryList.id}" theme="simple"/&gt;
      &lt;/display:column&gt;
  &lt;/display:table&gt;  
  
  &lt;s:submit action="deleteall"  value="DeleteSelected" /&gt;
  </code></pre>
  
  <p>till here its work fine. now i want to delete all the countries that are checked through the check box.</p>
  
  <p>for that i want the ids of the countries that are checked .for that i have to take the values in an array.</p>
  
  <p>The problem is how can i send the values from jsp and then get it at the action class</p>