📄 newright.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.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="RightAction.do" name="form1">
<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>
<th colspan="4" align="center" height="21"></th>
</tr>
<tr>
<td width="241"> </td>
<td align="center" width="142">权限名称:</td>
<td width="246">
<input type="text" name="RightName"/>
</td>
<td width="166"> </td>
</tr>
<tr>
<td width="241"> </td>
<td align="center" width="142">权限简介:</td>
<td width="246">
<textarea name="RightExplain" cols="19" rows="2">
</textarea>
</td>
<td width="166"> </td>
</tr>
<tr>
<td width="241"> </td>
<td width="142"> </td>
<td width="246"> </td>
<td width="166"> </td>
</tr>
<tr>
<td width="241"> </td>
<td align="right" width="142">
<input type="submit" value="提交"/>
</td>
<td align="left" width="246">
<input type="reset" value="重置"/>
</td>
<td width="166"> </td>
</tr>
<tr>
<td width="241" colspan="4"> </td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -