⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 findcontent.jsp

📁 wiki建站资源 java编写的 很好用
💻 JSP
字号:
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %><%@ page import="com.ecyrd.jspwiki.*" %><%@ page import="java.util.Collection" %><%-- FIXME: Get rid of the scriptlets. --%><%    String query = (String)pageContext.getAttribute( "query",                                                     PageContext.REQUEST_SCOPE );    if( query == null ) query = "";%>      <h2>Find pages</h2>      <wiki:SearchResults>          <h4>Search results for '<%=query%>'</h4>          <p>          <i>Found <wiki:SearchResultsSize/> hits, here are the top 20.</i>          </p>          <div class="zebra-table">          <table border="0" cellpadding="4" width="80%">          <tr>             <th align="left">Page</th>             <th align="left">Score</th>          </tr>          <wiki:SearchResultIterator id="searchref" maxItems="20">              <tr>                  <td><wiki:LinkTo><wiki:PageName/></wiki:LinkTo></td>                  <td><%=searchref.getScore()%></td>              </tr>          </wiki:SearchResultIterator>          <wiki:IfNoSearchResults>              <tr>                  <td colspan="2"><b>No results</b></td>              </tr>          </wiki:IfNoSearchResults>          </table>          </div>          <p>          <a href="http://www.google.com/search?q=<%=query%>" target="_blank">Try this same search on Google!</a>          </p>          <p><hr /></p>      </wiki:SearchResults>      <form action="<wiki:Variable var="baseURL"/>Search.jsp"            accept-charset="<wiki:ContentEncoding/>">      <p>      Enter your query here:<br />      <input type="text" name="query" size="40" value="<%=query%>" /></p>      <p>      <input type="submit" name="ok" value="Find!" /></p>      </form>      <p>      Use '+' to require a word, '-' to forbid a word.  For example:      <pre>          +java -emacs jsp      </pre>      finds pages that MUST include the word "java", and MAY NOT include      the word "emacs".  Also, pages that contain the word "jsp" are      ranked before the pages that don't.</p>      <p>      All searches are case insensitive.  If a page contains both      forbidden and required keywords, it is not shown.</p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -