⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 operator_list.jsp

📁 新东方软件开发项目
💻 JSP
字号:
<%@ page language="java" import="java.util.*" import="com.mobile.bean.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'operator_list.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

	<link href="/jspmobile//style/style.css"
			rel="stylesheet" type="text/css">


  </head>
  <script type="text/javascript">
     function tiao(){
        
          <%
          request.setAttribute("flag","managerOperator");
          %>
          
       }
           
            
         function tia(){
          
        
     
            <%
                request.setAttribute("flag","deleteOperator");
            %>
          }
   
  
  </script>

    <body link="#73A822" alink="#73A822" vlink="#73A822" bgcolor="#f1f3f9">
		<font size="2">您现在的位置:>>操作员列表</font>
		<hr>
		<div align="center">
			<form action="ChinaMobileServlet?flag=SelectOperator" method="POST"
				>
				<font size="2">操作员姓名:</font>
				<input type="text" name="name" id="Operator_Name" size="8">
				<input type="hidden" name="flag" value="findSomeone">
				<font size="2">操作员编号:</font>
				<input type="text" name="id" id="Operator_ID" size="8">
			
					<input type="submit" class="tb_top_1" value="立即查询">
			
			</form>
		</div>

		<br>
		<form action="ChinaMobileServlet?flag=deleteOperator"  method="POST">
		
			<table cellspacing="1" class="table" align="center" bgcolor="#00ffff" border="0.5" cellpadding="1">
				<tbody>
					<tr class="table_header">
						<td bordercolor="#0000ff" bgcolor="#00ff00">
							<div align="center" class="STYLE3">
								选中
							</div>
						</td>
						<td bgcolor="#00ff00">
							<div align="center" class="STYLE3">
								编号
							</div>
						</td>
						<td bgcolor="#00ff00">
							<div align="center" class="STYLE3">
								姓名
							</div>
						</td>
						
						<td bgcolor="#00ff00">
							<div align="center" class="STYLE3">
								权限
							</div>
						</td>
						<td bordercolor="#00ff00" bgcolor="#00ff00">
							<div align="center" class="STYLE3">
								操作
							</div>
						</td>
					</tr>
					<!-- 请注意:这里我们需要循环显示所有的记录信息 -->
					<% 
					ArrayList list=(ArrayList)request.getAttribute("operator");
					 for(int i=0;i<list.size();i++){
		                Operator o = (Operator)list.get(i);
					    System.out.println(o);
					     System.out.println(o.getOperator_ID());
					%>
	                



					<tr align="center" class="row2" onMouseOver="this.className='row1'"
						onMouseOut="this.className='row2'">

						<td>
							<input type="checkbox" name="ids" id="ids"
								value=<%=o.getOperator_ID()%>>
						</td>
						<td>
							<%=o.getOperator_ID()%>
						</td>
						<td>
							<%=o.getOperator_Name()%>
						</td>
				
						<td>
							<%=o.getIs_Admin()%>
						</td>
						<td>
							<a
								href="ChinaMobileServlet?flag=xiugaiOperator&xiugai_id=<%=o.getOperator_ID()%>"
								target="right">>修改</a>
						</td>

					</tr>
					<%} %>
				
					<tr>
					<td colspan="4">
					共${count-1}条|共分${pageCount}页|当前第${page}页|
					<a href="ChinaMobileServlet?flag=managerOperator&page=1">首页</a>|
					<a href="ChinaMobileServlet?flag=managerOperator&page=${page-1}">上一页</a>|
					<a href="ChinaMobileServlet?flag=managerOperator&page=${page+1}">下一页</a>|
				
					<a href="ChinaMobileServlet?flag=managerOperator&page=${pageCount}">尾页</a>|
					跳转<input type="text" name="page" size="2" value="${page}">页 
					<input type="submit" value="跳" >
					
					
					</td>
					</tr>		
				</tbody>
			</table>
			<br>   
				    <input type="submit" value="立即删除">
					
				   

				<br>
				<br>
			
		</form>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -