netdisk_search.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:2k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8"%>
  2. <%@ page import="com.redmoon.oa.netdisk.*" %>
  3. <%@ page import="cn.js.fan.util.*" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <LINK href="common.css" type=text/css rel=stylesheet>
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  9. <title>选择全局共享目录-菜单</title>
  10. <script>
  11. </script>
  12. </head>
  13. <body>
  14. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  15. <table width="100%"  border="0" style="background-image:url(images/bg_left.jpg); background-repeat:no-repeat">
  16.   <tr>
  17.     <td height="73" align="left"><table width="100%"  border="0">
  18.       <tr>
  19.         <td height="33" align="left">&nbsp;</td>
  20.       </tr>
  21.       <tr>
  22.         <td align="left">&nbsp;<img src="images/disk.gif" width="16" height="9">&nbsp;<a href="netdisk_frame.jsp" target="_parent">网络硬盘</a>&nbsp;&nbsp;<img src="images/public_share.gif" width="16" height="16" align="absmiddle">&nbsp;<a href="netdisk_public_share_frame.jsp" target="_parent">公共共享</a></td>
  23.       </tr>
  24.     </table></td>
  25.   </tr>
  26. </table>
  27. <table width="100%"  border="0">
  28. <%
  29. String dirCode = ParamUtil.get(request, "dirCode");
  30. %>
  31. <form name="form1" action="dir_list_search.jsp" target="mainFileFrame" method=post>
  32.   <tr>
  33.     <td width="5" align="left">&nbsp;</td>
  34.   <td align="left">要搜索的文件名为:</td>
  35.   </tr>
  36.   <tr>
  37.     <td align="left">&nbsp;</td>
  38.     <td align="left"><input name="fileName" ></td>
  39.   </tr>
  40.   <tr>
  41.     <td align="left">&nbsp;</td>
  42.     <td align="left">搜索范围</td>
  43.   </tr>
  44.   <tr>
  45.     <td align="left">&nbsp;</td>
  46.     <td align="left">
  47. <%
  48. String root_code = privilege.getUser(request);
  49. Directory dir = new Directory();
  50. Leaf leaf = dir.getLeaf(root_code);
  51. DirectoryView dv = new DirectoryView(leaf);
  52. %>
  53. <select name=dirCode>
  54. <option value="">全部目录</option>
  55. <%
  56. dv.ShowDirectoryAsOptions(out, leaf, leaf.getLayer());
  57. %>
  58. </select>
  59. <script>
  60. form1.dirCode.value = "<%=dirCode%>";
  61. </script>
  62. </td>
  63.   </tr>
  64.   <tr>
  65.     <td align="left">&nbsp;</td>
  66.     <td align="left"><input name="" value="立即搜索" type="submit"></td>
  67.   </tr>
  68.   </form>
  69. </table>
  70. </body>
  71. </html>