📄 readme
字号:
This directory contains sample files for using the Ultraseek XPA API.To use these sample files:- Install the required 3rd party libraries (see ../RELNOTES)- Copy makefile.sample to makefile Copy Sample.properties.default to Sample.properties- Modify the following files for your environment (Instructions are in each file) makefile Sample.properties web.xml (For Servlet examples only)- To compile and run a sample file: make <name_of_sample> For example: make SearchOneServerSome of the sample files use properties defined in Sample.properties to locate your Ultraseek serverinstance. Other sample files request keyboardinput at runtime to specify the server location.The Servlet samples must be installed usingthe methodology of your Web server. The following example uses Tomcat 4.1:1) Install Tomcat from here: http://java.sun.com/products/jsp/tomcat/2) Add this element to your Tomcat configuration defined in [tomcat home]/conf/server.xml <!-- 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>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: http://localhost:8081/SearchExamples
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -