popegroupadd.jsp~33~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
- <%request.setCharacterEncoding("GBK"); %>
- <html>
- <head>
- <title>
- 天津市经贸委在线办公
- </title>
- </head>
- <body bgcolor="#ffffff">
- <h1>
- 权限组添加
- </h1>
- <a href="index.jsp">返回首页</a>
- <%
- String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
- out.print(message);
- DBConn dbc = new DBConn();
- String sql = "select * from popedom";
- String[][] pope = dbc.getArray(sql);
- %>
- <form name="form1" method="post" action="popegroupAddAction.do">
- <p>权限组名
- <input type="text" name="pgname">
- </p>
- <p>
- 权限
- </p>
- <table width="90%" border="1">
- <tr>
- <td> </td>
- <td>权限编号</td>
- <td>权限说明</td>
- <td>权限类型</td>
- <td>权限字符串</td>
- </tr>
- <%
- int j = 0;
- for(int i = 0; i < pope.length; i++){
- j++;
- %>
- <tr>
- <td><input type="checkbox" name="id<%=i%>" value="<%=pope[i][2]%>"/></td>
- <td><%=pope[i][2]%></td>
- <td><%=pope[i][1] %></td>
- <td><%=pope[i][3] %></td>
- <td><%=pope[i][0] %></td>
- </tr>
- <%
- }
- %>
- <tr>
- <td><input type="hidden" value="<%=j%>" name="num" /></td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- <p>
- <input type="submit" name="Submit" value="提交">
- </p>
- </form>
- <p> </p>
- </body>
- </html>