📄 documentsearch.jsp
字号:
<%@ page contentType="text/html; charset=GBK" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title>查找文件</title>
<link href="../css/Style.css" rel="stylesheet" type="text/css" />
<script src="../js/calendar.js" type="text/javascript" charset="GBK" ></script>
<script src="../js/docManage.js" type="text/javascript"></script>
</head>
<body>
<table width="100%" border="0">
<tr>
</tr>
<tr>
<td height="30" colspan="2" valign="top">
<p>
当前位置:文件搜索
</p>
</tr>
<tr>
<td height="30" colspan="2">
<center>
<p>
搜索结果
</p>
</center>
<hr width="100%" />
</td>
</tr>
<tr>
<td width="266" rowspan="3" valign="top">
<form id="searchTerms" name="form1" method="POST"
action="filesearch.do" onsubmit="checkNull()">
<table width="87%" border="0">
<!--DWLayoutTable-->
<tr>
<td height="30" colspan="3">
<img src="../images/search2.gif" width="28" height="25" />
文件搜索
</td>
</tr>
<tr>
<td height="17" colspan="3">
要搜索的文件名:
</td>
</tr>
<tr>
<td height="22" colspan="3">
<input name="fileName" type="text" class="inputCss"
id="fileName" />
</td>
</tr>
<tr>
<td height="17" colspan="3">
附件包含的文字:
</td>
</tr>
<tr>
<td height="22" colspan="3">
<input name="includeName" type="text" class="inputCss"
id="textfield3" />
</td>
</tr>
<tr>
<td height="17" colspan="3">
创建者姓名:
</td>
</tr>
<tr>
<td height="22" colspan="3">
<input name="creatorName" type="text" class="inputCss"
id="creatorName" />
</td>
</tr>
<tr>
<td height="47" colspan="3">
<input name="search" type="submit" class="buttonCss"
id="search" value="搜索" />
<input name="exit" type="reset" class="buttonCss" id="exit"
value="退出" />
</td>
</tr>
<td width="83">
<!--DWLayoutEmptyCell-->
</td>
<tr>
<td height="17" colspan="3">
<div>
按时间搜索:
<span id="jiantou" style="cursor: hand"
onclick="showTime('mytime')"> >>> </span>
</div>
<p>
<div id="mytime" style="display: none">
时间介于:
<br></br>
<input name="begin" type="text" class="inputCss"
onfocus="calendar()" readonly id="beginTime" />
<br />
<input name="end" type="text" class="inputCss"
onfocus="calendar()" readonly id="endTime" />
</div>
</td>
</tr>
</table>
</form>
<td height="53" valign="top">
<div>
<table id="table" width="667" height="47" border="0">
<tr>
<td>
<center>
文件名称
</center>
</td>
<td>
<center>
所在文件夹
</center>
</td>
<td>
<center>
类型
</center>
</td>
<td>
<center>
所有者
</center>
</td>
<td>
<center>
创建日期
</center>
</td>
<td>
<center>
下载
</center>
</td>
</tr>
<c:forEach var="item" items="${SearchedFilesList}">
<tr>
<td>
<center>
${item.fileName}
</center>
</td>
<td>
<center>
${item.filePath}
</center>
</td>
<td>
<center>
${item.iconPath}
</center>
</td>
<td>
<center>
${item.name}
</center>
</td>
<td>
<center>
${item.createDate}
</center>
</td>
<td>
<center>
<a href="downloadfile.do?fileId=${item.fileId}"><img
src="../images/newFile.gif" border="none" /> </a>
</center>
</td>
</tr>
</c:forEach>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -