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

📄 userview.jsp

📁 利用STRUTS2+SPRING+HIBERNATE/IBATIS建立的基本开发框架
💻 JSP
字号:
<%@page contentType=" text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title><s:text name="system.title" /></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../../style/style1.css" type="text/css" rel="stylesheet" />
<STYLE type="text/css">
BODY {
	SCROLLBAR-FACE-COLOR: #EFEEEE;
	FONT-SIZE: 12px;
	SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
	SCROLLBAR-SHADOW-COLOR: #ffffff;
	SCROLLBAR-3DLIGHT-COLOR: #BABABA;
	SCROLLBAR-ARROW-COLOR: #BABABA;
	SCROLLBAR-TRACK-COLOR: #ffffff;
	SCROLLBAR-DARKSHADOW-COLOR: #BABABA
}
</STYLE>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" scroll="no">
<s:action id="stateLoadAction" namespace="/public" name="loadDictData">
	<s:param name="dictTypeCode">STATE_DICT_TYPE_CODE</s:param>
</s:action>
<s:action id="isOnLineLoadAction" namespace="/public"
	name="loadDictData">
	<s:param name="dictTypeCode">IS_ON_LINE_DICT_TYPE_CODE</s:param>
</s:action>
<s:form method="post" theme="simple">
	<s:hidden name="queryCriteria.loginName" />
	<s:hidden name="queryCriteria.userName" />
	<table width="100%" height="100%" border="0" cellspacing="0"
		cellpadding="0">
		<tr>
			<td height="1%">
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0" class="labeltable">
				<tr>
					<td height="38" background="../../images/main_bk.gif" class="new3">
					<table width="99%" border="0" align="right" cellpadding="0"
						cellspacing="0">
						<tr>
							<td><img src="../../images/icon_main01.gif" width="11"
								height="11"> <span class="new3"><s:text
								name="user.manage" /> --&gt; 用户查看</span></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</td>
		</tr>
		<tr>
			<td height="99%" valign="top">
			<div class="listdiv">
			<table width="97%" border="0" align="center" cellpadding="3"
				cellspacing="0" class="input_outtable">
				<tr>
					<td height="225" valign="top">
					<table width="100%" border="0" cellspacing="0" cellpadding="3">
						<tr>
							<td width="17%" height="24" bgcolor="#FFEEFF"
								class="input_td_textright">用户登录名<span
								style="color: red; font-weight: bold">*</span>:</td>
							<td width="33%" bgcolor="#FFEEFF" class="input_td_textleft">
							<s:property value="user.loginName" /></td>
							<td width="18%" bgcolor="#FFEEFF" class="input_td_textright1">
							用户名称<span style="color: red; font-weight: bold">*</span>:</td>
							<td width="32%" bgcolor="#FFEEFF" class="input_td_textleft">
							<s:property value="user.userName" /></td>
						</tr>
						<tr>
							<td height="6" bgcolor="#FFEEFF" class="input_td_textright">
							用户生效时间<span style="color: red; font-weight: bold">*</span>:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:date
								name="user.userEffDate" format="yyyy-MM-dd" /></td>
							<td bgcolor="#FFEEFF" class="input_td_textright1">用户失效时间<span
								style="color: red; font-weight: bold">*</span>:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:date
								name="user.userExpDate" format="yyyy-MM-dd" /> &nbsp;</td>
						</tr>
						<tr>
							<td height="3" bgcolor="#FFEEFF" class="input_td_textright">
							密码生效时间<span style="color: red; font-weight: bold">*</span>:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:date
								name="user.pwEffDate" format="yyyy-MM-dd" /> &nbsp;</td>
							<td bgcolor="#FFEEFF" class="input_td_textright1">密码失效时间<span
								style="color: red; font-weight: bold">*</span>:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:date
								name="user.pwExpDate" format="yyyy-MM-dd" /> &nbsp;</td>
						</tr>
						<tr>
							<td height="3" bgcolor="#FFEEFF" class="input_td_textright">
							状态<span style="color: red; font-weight: bold">*</span>:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:property
								value="#stateLoadAction.dictDataMap.get(user.state)" /></td>
							<td bgcolor="#FFEEFF" class="input_td_textright1">电子邮箱:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:property
								value="user.email" /> &nbsp;</td>
						</tr>
						<tr>
							<td height="3" bgcolor="#FFEEFF" class="input_td_textright">
							办公电话:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:property
								value="user.officePhone" /> &nbsp;</td>
							<td bgcolor="#FFEEFF" class="input_td_textright1">移动电话:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:property
								value="user.mobilePhone" /> &nbsp;</td>
						</tr>
						<tr>
							<td height="3" bgcolor="#FFEEFF" class="input_td_textright">
							创建人:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:property
								value="user.createUserName" /> &nbsp;</td>
							<td bgcolor="#FFEEFF" class="input_td_textright1">创建日期:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:date
								name="user.createDate" format="yyyy-MM-dd HH:mm:ss" /> &nbsp;</td>
						</tr>
						<tr>
							<td height="6" bgcolor="#FFEEFF" class="input_td_textright">
							修改人:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:property
								value="user.modifyUserName" /> &nbsp;</td>
							<td bgcolor="#FFEEFF" class="input_td_textright1">修改日期:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:date
								name="user.modifyDate" format="yyyy-MM-dd HH:mm:ss" /> &nbsp;</td>
						</tr>
						<tr>
							<td height="6" bgcolor="#FFEEFF" class="input_td_textright">
							最近访问日期:</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:date
								name="user.lastVisitDate" format="yyyy-MM-dd HH:mm:ss" />
							&nbsp;</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft">
							<div align="right">是否在线:</div>
							</td>
							<td bgcolor="#FFEEFF" class="input_td_textleft"><s:property
								value="#isOnLineLoadAction.dictDataMap.get(user.isOnLine)" />
							&nbsp;</td>
						</tr>
						<tr>
							<td height="6" bgcolor="#FFEEFF" class="input_td_textright">
							备注:</td>
							<td colspan="3" bgcolor="#FFEEFF" class="input_td_textleft">
							<s:property value="user.remark" /> &nbsp;</td>
						</tr>
						<tr>
							<td height="12" bgcolor="#FFEEFF" class="input_td_textright2">
							拥有角色:</td>
							<td height="5" colspan="3" bgcolor="#FFEEFF"
								class="input_td_line_dx"><s:iterator value="user.userRoles">
								<s:property value="roles.roleName" />、 </s:iterator>&nbsp;</td>
						</tr>
						<tr>
							<td height="12" colspan="4" bgcolor="#FFEEFF"
								class="input_td_textright_bk"><s:submit value="返回"
								action="findUsers" cssClass="topbut2" /></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</div>
			</td>
		</tr>
	</table>
</s:form>
</body>
</html>

⌨️ 快捷键说明

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