selectrolegroup.jsp

来自「包括所有开发文档以及数据库文件」· JSP 代码 · 共 93 行

JSP
93
字号
<%@ page language="java" import="bo.*"
	contentType="text/html;charset=GBK"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<base href="<%=basePath%>">

		<title>权限管理系统</title>

		<meta http-equiv="Content-Type" content="text/html; charset=GBK">
		<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 href="qxgl.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<%
			String roleId = (String) request.getAttribute("roleId");
			Group roleGroup = (Group) request.getAttribute("roleGroup");
			if (roleId != null) {
		%>
		<table width="700" align="center">
			<tr>
				<td class="td1" align="center">
					<a href="selectAllRoleUser.do?roleId=<%=roleId%>">【查看所包含的用户】</a>
				</td>
				<td class="td1" align="center">
					<a href="selectRoleAction.do?roleId=<%=roleId%>">【查看角色权限】</a>
				</td>
				<td class="td1" align="center">
					<a href="selectRoleAllAction.do?roleId=<%=roleId%>">【查看角色总权限】</a>
				</td>
				<td class="td1" align="center">
					<a href="selectGroupByRole.do?roleId=<%=roleId%>">【查看所属组】</a>
				</td>
				<td class="td1" align="center">
					<a href="setRoleAction.do?roleId=<%=roleId%>">【设置角色权限】</a>
				</td>
			</tr>
			<tr>
				<td colspan="5">
					<table align="center" class="td1" width="100%">
						<tr>

							<td class=td2 align="center">
								组ID
							</td>
							<td class=td2 align="center">
								组名称
							</td>
							<td class=td2 align="center">
								组描述
							</td>

						</tr>
						<%
						if (roleGroup != null) {
						%>
						<tr>

							<td class=td1 align="center">
								<%=roleGroup.getGroupId()%>
							</td>
							<td class=td1 align="center">
								<%=roleGroup.getGroupName()%>
							</td>
							<td class=td1 align="center">
								<%=roleGroup.getGroupDescription()%>
							</td>
						</tr>
						<%
						}
						%>
					</table>
				</td>
			</tr>
		</table>
		<%
		}
		%>
	</body>
</html>

⌨️ 快捷键说明

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