📄 updateright.jsp
字号:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page import="to.model.Right.*"%>
<%@ page import="to.model.Login.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>修改权限</title>
<style type="text/css">
table{font-size:13px}
</style>
</head>
<body>
<form action="EditSaveAction.do" name="form1" method="get">
<table cellspacing="1" cellpadding="1" border="0" width="800" align="center" >
<tr>
<td colspan="4"></td>
</tr>
<%
loginItem li=(loginItem)session.getAttribute("user");
if(li==null)
{
response.sendRedirect("OfficeLogin.jsp");
}
if(!(li.getRoleName().equals("系统管理员")))
{
response.sendRedirect("Office.jsp");
}
%>
<tr>
<td colspan="4" height="1"><hr/></td>
</tr>
<tr bgcolor="#006699">
<th colspan="4" align="center"><font color="White">修改权限</font></th>
</tr>
<tr>
<td colspan="4" align="center" height="22"></td>
</tr>
<%
RightItem ri=(RightItem)request.getAttribute("ri");
%>
<tr>
<td width="237"> </td>
<td align="center" width="163">权限编号:</td>
<td width="232">
<input type="text" name="RightID" value="<%=ri.getRightID()%>" readonly/>
</td>
<td width="163"> </td>
</tr>
<tr>
<td width="237"> </td>
<td align="center" width="163">权限名称:</td>
<td width="232">
<input type="text" name="RightName" value="<%=ri.getRightName()%>"/>
</td>
<td width="163"> </td>
</tr>
<tr>
<td width="237"> </td>
<td align="center" width="163">权限简介:</td>
<td width="232">
<textarea name="RightExplain" rows="5" cols="19">
<%=ri.getRightExplain()%>
</textarea>
</td>
<td width="163"> </td>
</tr>
<tr>
<td width="237"> </td>
<td width="163"> </td>
<td width="232"> </td>
<td width="163"> </td>
</tr>
<tr>
<td width="237"> </td>
<td align="right" width="163">
<input type="submit" value="提交"/>
</td>
<td align="left" width="232">
<input type="reset" value="重置"/>
</td>
<td width="163"> </td>
</tr>
<tr>
<td width="241" colspan="4"> </td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -