anchor.diff:  	stmt = conn.createStatement();
   	rs = stmt.executeQuery("select * from tb_person");
   %>
  -
  +<script type="text/javascript">
  +	 uncheckedAll=function(){
  +		 alert(" uncheck all");
  +		var array= document.getElementByName("id"); 
  +		System.out.println(array);  
  +		for(var i=0;i<array.length;i++){
  +			array[i].checked=false;
  +		}
  +	}
  +	
  +	checkedAll = function(){
  +		alert(" check all");
  +		var array= document.getElementByName("id"); 
  +		alert(array);
  +		for(var i=0;i<array.length;i++){
  +			array[i].checked=true;
  +			}
  +	}
  +	</script>
  +	
   <form action = operatePerson.jsp method="get">
   	<table bgcolor="#cccccc" cellspacing=1 cellpadding=5 width=100%>
   		<tr bgcolor="#dddddd">
  +			<th></th>
   			<th>ID</th>
   			<th>Name</th>
   			<th>English Name</th>
  
positive.code: 			String description = rs.getString("description");
  			
  			out.println("<tr bgcolor=#FFFFFF>");
  			out.println("<td>"+id+"</td>");
  			out.println("<td>"+name+"</td>");
  			out.println("<td>"+englishName+"</td>");
  
negative.code: 		<tr>
  			<td>
  				<input type='hidden' value='del' name='action' />
  				<a href="#" onclick=checkedAll() >all checked</a>
  				<a href="#" onclick=uncheckedAll() >all unchecked</a>
  				<input type="submit" onclick="return confirm('will delete all the person records');" value="delete" />
  			</td>
  		</tr>
  