popegroupadd.jsp~26~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
- <html>
- <head>
- <title>
- 天津市经贸委在线办公
- </title>
- </head>
- <body bgcolor="#ffffff">
- <h1>
- 权限组添加
- </h1>
- <%
- String message = request.getAttribute("text")==null?"":request.getAttribute("text").toString();
- String info = request.getParameter("info");
- if(info!=null){
- out.print(info);
- }else{
- out.print("info is null");
- }
- 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>