directory_create_process.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:2k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.directory.proxy.DirectoryProxyBean" %>
  3. <%@ page import="com.vnex.intranet.directory.proxy.DirectoryPermissionProxyBean" %>
  4. <%@ page import="com.vnex.intranet.directory.value.DirectoryValueBean" %>
  5. <%
  6. int id = Integer.parseInt(request.getParameter("directoryId"));
  7. /*isLeaf = Integer.parseInt(request.getParameter("isLeaf"));
  8. readControl = Integer.parseInt(request.getParameter("readControl"));
  9. writeControl = Integer.parseInt(request.getParameter("writeControl"));
  10.     emp = request.getParameterValues("selectedIDList");
  11.     if( emp == null )
  12.     {
  13.         out.println("emp is null---------");
  14.     }
  15. else
  16. {
  17.         empId = new int[ emp.length ];
  18.         if( emp != null )
  19.         {
  20.             while( emp.length > i )
  21.            {
  22.                StringTokenizer st = new StringTokenizer( emp[i],";");
  23.                if( st.hasMoreTokens() )
  24.                {
  25.                    employeeId = Integer.parseInt( st.nextToken() );
  26.                }
  27.              empId[i] = employeeId;
  28.              out.println("the employee id of " + i + "=="+employeeId+"n");
  29.              i++;
  30.            }
  31.            
  32.         }
  33. }
  34. out.println("<br>Director id: " + id);
  35. out.println("<br>isLeaf: " + isLeaf);
  36. out.println("<br>readControl: " + readControl);
  37. out.println("<br>writeControl: " + writeControl);*/
  38. //return to the directory list page.
  39. response.sendRedirect("/mainctrl/directory/management/directory_list_sub?id="+id);
  40. %>