📄 overview.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><title>XPA Sample Files</title></head><body bgcolor="white">A collection of sample applications demonstrating the useof the Ultraseek XPA API.<h2>Related Documentation</h2>See the <a target="_top" href="{@docRoot}/../api/index.html">XPA API javadocs</a>.<h2>Usage Notes</h2>To use these sample files:<ul><li>Install the required 3rd party libraries (see <a target="_top" href="{@docRoot}/../RELNOTES">RELNOTES</a>)<li>Copy <code>makefile.sample</code> to <code>makefile</code><br>Copy <code>Sample.properties.default</code> to <code>Sample.properties</code><li>Modify the following files for your environment (Instructions are in each file) <pre> makefile Sample.properties web.xml (For Servlet examples only) </pre><li>To compile and run a sample file: <blockquote>make <name_of_sample></blockquote> For example: <blockquote>make SearchOneServer</blockquote></ul>Some of the sample files use properties defined in <code>Sample.properties</code> to locate your Ultraseek serverinstance. Other sample files request keyboardinput at runtime to specify the server location.<h2>Servlet Samples</h2>The Servlet samples must be installed usingthe methodology of your Web server. <p>The following example uses Tomcat 4.1:<pre>1) Install Tomcat from here: <a target="_blank" href="http://java.sun.com/products/jsp/tomcat/">http://java.sun.com/products/jsp/tomcat/</a>2) Add this element to your Tomcat configuration defined in [tomcat home]/conf/server.xml <code> <!-- Ultraseek XPA Search Servlet examples For Development set reloadable="true"; use "false" for production. (This will let classes be reloaded without restarting the server). Be sure to set reloadable="false" when performance testing. --> <Context path="/SearchExamples" docBase="SearchExamples" debug="1" reloadable="true" crossContext="true"> <!-- check filesystem every 3 seconds for classes to reload --> <Loader checkInterval="3"/> <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_SearchExamples_log." suffix=".txt" timestamp="true"/> </Context> </code>3) Start tomcat by going to: [tomcat home]/bin and running: ./startup.sh4) Build the SearchExamples.war file: make SearchExamples.war5) Deploy SearchExamples.war: make deploy6) Test by pointing your browser to: http://localhost[:tomcat_port]/SearchExamples eg: <a target="_blank" href="http://localhost:8081/SearchExamples">http://localhost:8081/SearchExamples</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -