?? user_manager.jsp
字號:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ><html>
<head>
<c:if test="${updManager!=null}">
<c:if test="${updManager}">
<script type="text/javascript">
alert("更新成功!");
</script>
</c:if>
</c:if>
<c:if test="${delManager!=null}">
<c:if test="${delManager}">
<script type="text/javascript">
alert("刪除成功!");
</script>
</c:if>
</c:if>
<title>
管理用戶
</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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" href="css/style.css" type="text/css" />
<style>
body,td {
font: normal 12px Verdana;
color: #333333;
text-align:center;
}
input
,
textarea
,
select
,
td
,
{
font
:normal
12
px
Verdana
;
color
:
#333333
;
border
:
1
px
solid
#999999
;
background
:
#ffffff
}
th {
font: normal 14px Verdana;
color: #333333;
border: 1px solid #999999;
background: #C0C0C0;
}
table {
border-collapse: collapse;
}
td {
padding: 3px;
}
input {
height: 20;
}
textarea {
width: 80%;
height: 50px;
overfmin: auto;
}
form {
display: inline
}
table {
width: 90%;
}
</style>
</head>
<body background="image/main_bg.gif">
<table width="800" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="10"><img src="image/bg_1.gif" width="10" height="11"></td>
<td width="812" background="image/bg_5.gif"></td>
<td width="10"><img src="image/bg_2.gif" width="10" height="11"></td>
</tr>
<tr>
<td height="519" background="image/bg_7.gif"> </td>
<td align="center" valign="top" bgcolor="#FFFFFF">
<!-- 列表主體 -->
<display:table id="row" name="allManager" pagesize="5"
requestURI="/login.do?method=findAll" class="simple" export="false"
decorator="com.xttc.util.Wrap" varTotals="totals">
<display:column property="userName" title="用戶名" headerClass="sortable" />
<display:column property="password" title="用戶密碼"
headerClass="sortable" />
<display:column title="編輯">
<a
href="<%=request.getContextPath()%>/login.do?method=findById&userid=${row.id}">
<img src="pages/image/edit.gif" alt="編輯" width="12" height="12"
border="0" /> </a>
</display:column>
<display:column title="刪除">
<a
href="<%=request.getContextPath()%>/login.do?method=delManager&userid=${row.id}">
<img src="pages/image/icon_del.gif" alt="刪除" width="13" height="13"
border="0" style="CURSOR: hand" /> </a>
</display:column>
</display:table>
<!-- 結(jié)束 -->
</td>
<td background="image/bg_8.gif"> </td>
</tr>
<tr>
<td><img src="image/bg_3.gif" width="10" height="11"></td>
<td background="image/bg_6.gif"></td>
<td><img src="image/bg_4.gif" width="10" height="11"></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -