<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="http://user-20160821pd:8088/com.jdbc2/"> <title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="" content="">
<meta http-equiv="" content="">
<meta http-equiv="" content="">
<meta http-equiv="" content="">
<meta http-equiv="" content="">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<script type="">
function chkall() {
//alert(1);
var chkall=document.getElementById("chksall");
var chks=document.getElementsByName("chks");
if(chkall.checked){
for(var i=0;i<chks.length;i++){
chks[i].checked=true;
} }else{
for(var i=0;i<chks.length;i++){
chks[i].checked=false;
}
}
}
function delchk() {
var ids="";
var chks1=document.getElementsByName("chks");
for(var i=0;i<chks1.length;i++){
if(chks1[i].checked){
ids += chks1[i].value+",";
}
} alert(ids);
window.location.href="delall.jsp?ids="+ids;
}
</script>
<style type="">
td {
width: 150px
}
</style> <body>
<h3>员工管理列表</h3> <form action="select.jsp" method="">
员工序号:<input type="" name=""> 员工姓名:<input type=""
name=""> <input type="" value="">
</form>
<a href="">批量删除</a>
<a href="edit.jsp?modify=1">新增</a>
<table>
<tr>
<td><input type="" id="" onchange="">
</td>
<td>序号</td>
<td>姓名</td>
<td>操作</td>
</tr> <!-- EL语言 --> <tr> <td><input type="" name="" value="">
</td>
<td>1004</td>
<td>大乔</td>
<td>
<a
href="modify.jsp?modify=0 &&nums=1004 &&ename=大乔">修改</a> <a href="del.jsp?num=1004">删除</a> </td> </tr> <tr> <td><input type="" name="" value="">
</td>
<td>1005</td>
<td>小乔</td>
<td>
<a
href="modify.jsp?modify=0 &&nums=1005 &&ename=小乔">修改</a> <a href="del.jsp?num=1005">删除</a> </td> </tr> <tr> <td><input type="" name="" value="">
</td>
<td>2006</td>
<td>悟空</td>
<td>
<a
href="modify.jsp?modify=0 &&nums=2006 &&ename=悟空">修改</a> <a href="del.jsp?num=2006">删除</a> </td> </tr> </table> <tr>
<td><a href="index.jsp?pageNum=1">首页 </a>
</td>
<td><a href="index.jsp?pageNum=0">上一页 </a>
</td>
<td><a href="index.jsp?pageNum=2">下一页 </a>
</td>
<td><a href="index.jsp?pageNum=3">尾页 </a>
</td>
<td>第1页 &nbsp;共 3 页&nbsp; 9条&nbsp;
当前3 条</td>
</tr>
</body>
</html
05-02 20:04