📄 rightmessage.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ 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="2" cellpadding="2" border="2" width="500" align="center">
<tr bgcolor="#006699">
<th colspan="2" align="center"><font color="White">权限信息查看</font></th>
</tr>
<tr>
<td colspan="2"></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 align="center" width="163"></td>
<td width="232"></td>
</tr>
<%
RightItem ri=(RightItem)request.getAttribute("ri");
%>
<tr>
<td align="center" width="163">权限编号:</td>
<td width="232">
<%=ri.getRightID()%>
</td>
</tr>
<tr>
<td align="center" width="163"></td>
<td width="232">
</td>
</tr>
<tr>
<td align="center" width="163">权限名称:</td>
<td width="232">
<%=ri.getRightName()%>
</td>
</tr>
<tr>
<td align="center" width="163"></td>
<td width="232">
</td>
</tr>
<tr>
<td align="center" width="163">权限简介:</td>
<td width="232">
<%=ri.getRightExplain()%>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -