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

📄 listuser.jsp

📁 达内培训时做的亚信的实战项目 包含数据库 struts+hibernate
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@page isELIgnored="false"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<html>
<head>
<title> getusersuccess </title>
<style type="text/css">
<!--
@import url(/app/son.css);
@import url(/app/index.css);
-->
</style>
<link href="/app/index.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ccddee" background="<%=request.getContextPath() %>/image/background.jpg" link="#000066" vlink="#0066FF" alink="#99FF00">
<div align="center"> 
  <form name="form1" method="post" action="<%=request.getContextPath() %>/findUser.do">
    <table width="91%" border="0" align="center">
      <tr bgcolor="#ccddee" class="pp"> 
        <td width="14%" height="6"><span class="pp"><a href="<%=request.getContextPath()%>/userManage/open.jsp" class="text_link">开通帐户</a></span></td>
        <td><span class="yellow">用户列表</span> </td>
        <td bgcolor="#ccddee"> <div align="center"><span class="yellow"><font color="#000000">帐务帐号</font></span> 
            <input name="loginName" type="text" size="16">
            <input name="Submit22" type="submit" class="button9p" value="查询">
          </div></td>
      </tr>
    </table>
  </form>
  <form name="" method="post">
    <div align="center"> <br/>
      <table width="91%" border=1 align="center" cellpadding="0" cellspacing="0" bordercolor="#ccccff" bgcolor="#ccddee" class="9P" >
        <tr align="center"> 
          <td width="55" height="31"> <div align="center"> 状态</div></td>
          <td width="67"> <div align="center"> 帐务帐号</div></td>
          <td width="73"> <div align="center"> 姓名</div></td>
          <td width="101"> <div align="center"> 电话</div></td>
          <td width="138"> <div align="center"> 邮箱</div></td>
          <td width="96">开户日期</td>
          <td width="96"> <div align="center">设置 </div></td>
        </tr>   
         <c:forEach items="${users}" var="user" varStatus="status">
        <tr align="center" > 
          <td height="10"><c:if test="${user.status==0}">
          					正常
          				  </c:if>
          				  <c:if test="${user.status==1}">
          					暂停
          				  </c:if>
          				  <c:if test="${user.status==2}">
          					已删除
          				  </c:if>
          </td>
          <td> <div align="left">${user.loginName}</div></td>
          <td>${user.name}</td>
          <td>${user.phone}</td>
          <td>${user.email}</td>
          <td>${user.enrollDate}</td>
          <td>
         	<c:if test="${user.status!=2}">
          	<a href="<%=request.getContextPath()%>/toUserModify.do?id=${user.id}">修改</a><br>
          	<c:if test="${user.status==0}">
            	<a href="<%=request.getContextPath()%>/changeUserStatus.do?id=${user.id}&status=${user.status}">暂停</a><br>
            </c:if>
            <c:if test="${user.status==1}">
            	<a href="<%=request.getContextPath()%>/changeUserStatus.do?id=${user.id}&status=${user.status}">恢复</a><br>
            </c:if>
            	<a href="<%=request.getContextPath()%>/changeUserStatus.do?id=${user.id}&status=2">删除</a><br>	
            </c:if>
        </tr>
       </c:forEach>
      </table>
    </div>
<hr>
<p class="text_link"><font size="2" face="宋体">
  <center>
    About Tarena - 公司简介 - 联系方法 - 相关法律 - 客户服务 
  <br>
    达内公司版权所有
    </center>
  </font></p>

<p class="text_link"><font size="-1">
    Copyright&nbsp;<img src="<%=request.getContextPath() %>/image/c-00.gif" width="9" height="9">&nbsp;2007. 
    Tarena Technologies Inc. All Rights Reserved 
</body>
</html>

⌨️ 快捷键说明

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