JSP, a technology launched by Sun Microsystems in June 1999, is a web-based development technology based on Javaservlet and the entire Java system that enables the creation of advanced, secure, and Cross-platform Dynamic Web sites.
JSP is very similar to ASP. Both provide the ability to mix some kind of program code in HTML code, and the language engine to interpret the execution code. In an ASP or JSP environment, HTML code is primarily responsible for describing the display style of information, while program code is used to describe the processing logic. The programming language under ASP is a scripting language such as VBScript, and the JSP uses Java.
TRS and its JavaBeans
TRS system is the first Chinese Full-text retrieval system with "parallel Computing" algorithm, its Full-text search engine can provide the performance of relational database, and can be used in conjunction with relational database, because TRS can establish full-text indexing for text content and provide efficient full-text retrieval capabilities. So using TRS can greatly improve the query speed of the website.
TRS JavaBeans is developed based on Java component Technology--javabeans with good cross-platform features. This article describes the process of building a Web using JSP, TRS, and JavaBeans.
TRS JavaBeans Configuration steps
Take NT Lower WebLogic5.1.0 as an example to explain.
1. Install WebLogic5.1.0
2. Modify Startweblogic.cmd
Change "Set pre_classpath=" to "full path% of full path%;%trsdemo.jar of Set Pre_classpath=%trsbean.jar".
For example, if Trsbean.jar is located in the C:\TRSJavaBeans\lib\ directory, change the statement to:
Set Pre_classpath=c:\trsjavabeans\lib\trsbean.jar
3. Modify Weblogic.properties
Take the statement: #weblogic. Httpd.register.servlets=weblogic.servlet.servletservlet before the # number removed.
Remove the "#" number before the following statement:
# weblogic.httpd.register.*.jsp=\
# weblogic.servlet.JSPServlet
#weblogic.httpd.initArgs.*.jsp=\
# pageCheckSeconds=1,\
# compileCommand=C:/java/bin/javac.exe,\
# workingDir=D:/weblogic/myserver/classfiles,\
# verbose=true
Then change "compilecommand=c:/java/bin/javac.exe,\" to "Compilecommand=java_ path/bin/javac.exe,\", where JAVA_ Path is the installation root directory of the actual JDK used.