📄 sysuserupdate.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />
<title>sysuserinsert.jsp</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 rel="stylesheet" type="text/css" href="styles.css">
-->
<script type="text/javascript">
function check(){
var tag = true;
if(document.theform.username.value==""){
alert("真实姓名不能为空!");
theform.username.focus();
return false;
}
var p = /^[\u0391-\uFFE5]+$/;
var str = document.theform.username.value;
if(!p.test(str)){
alert("真实姓名必须为中文!");
theform.username.focus();
return false;
}
if(document.theform.roleid.value==""){
alert("所属角色不能为空!");
theform.roleid.focus();
return false;
}
if(tag){
theform.submit();
}
}
function returns(){
location.href="${pageContext.request.contextPath}/systemUserAtion.do?tag=show";
}
</script>
<style type="text/css">
<!--
.STYLE1 { font-size: 14px;
font-weight: bold;
font-family: "宋体";
}
-->
</style>
</head>
<body>
<center>
<h1> 系统用户修改</h1>
<html:form action="/systemUserAtion.do?tag=updateuser" styleId="theform" method="post">
<input type="hidden" name="serchname" value="${requestScope.map.serchname}" />
<input type="hidden" name="currentpage" value="${requestScope.map.currentpage}" />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="48%" border="1" cellpadding="0" cellspacing="0" bordercolor="#D71920">
<tr>
<td align="center" valign="middle"><table width="86%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10" colspan="3"> </td>
</tr>
<tr>
<td width="4%"> </td>
<td width="92%" align="center">
<table width="336" height="238" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="125" height="51" align="right">用户ID号:</td>
<td width="227" align="left"> <html:text property="realname" styleId="realname" value="${requestScope.userlist.loginname}" readonly="true"></html:text></td>
</tr>
<tr>
<td width="125" height="43" align="right"> 真实姓名:</td>
<td align="left"> <html:text property="username" styleId="username" value="${requestScope.userlist.username}" ></html:text></td>
</tr>
<tr>
<td height="50" align="right">所属角色ID:</td>
<td align="left"> <html:text property="roleid" styleId="roleid" value="${requestScope.userlist.roleid}" readonly="true" ></html:text>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="button" name="Submit" value="提 交" onClick="check();">
<input type="reset" name="Submit2" value="重 置"> <input type="button" name="Submit3" value="返 回" onClick="returns();">
</td>
</tr>
</table></td>
<td width="4%"> </td>
</tr>
<tr>
<td height="10" colspan="3"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<logic:notEmpty name="manage" scope="request" >
<tr>
<th height="44" colspan="2" scope="col">
${requestScope.manage}
</th>
</tr>
</logic:notEmpty>
</table>
<html:hidden property="nid" />
</html:form>
</center>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -