-------------------------------------------------- --Resin and IIS binding
Preparation: Before doing this, I have installed JDK1.4, IIS5, RESIN-2.0.3 on my machine, where IIS5 creates a Web site of 80 and 81 ports, and the 81-port Web site root directory Located in E: / DOC / XINGMU. RESIN is located in E: /BIN/RESIN-2.0.3/ and adds a RESIN system service using the resin / bin / httpd.exe -install command.
Requirements: Tight the WEB site of the 81 port with the RESIN,
Operation: 1. Execute RESIN / BIN / SETUP, will copy an isapi_srun.dll to C: / INETPUB / SCRIPTS, and add an ISAPI filter in IIS
Second, establish a resin.ini file under C: / INETPUB / SCRIPTS, the content is as follows:
Cauchoconfigfile E: /BIN/RESIN-2.0.3/conf/resin.conf
{After this operation, you can use the format of http: // xxx / servlet / env to access servlet}
Third, modify the resin.conf file, add an attribute to
Fourth, add .jsp, .xtp mapping, add a / scripts to virtual directory, this directory points to C: / INETPUB / SCRIPTS, and requires permissions to be permutable
Ok, now you can freely create a JSP file in the root of the E: / DOC / XINGMU / this Web, or you can put the servlet you have written under Resin / Doc / Web-INF. At the same time, a / web-inf / directory is also generated under the Web, you can build a class content and put your servlet inside
-------------------------------------------------- ------------ {} There are multiple JDKs in multiple JDKs in the system.
It was found that this problem was installed in advance in the machine. After installation of JBuilder5, it was installed in JDK1.3, and it was found that every time the RESIN was started, it used JDK1.3, if it was changed to JDK1.4? ?
Find HKEY_LOCAL_MACHINE / SOFTWARE / JavaSoft / Java Development Kit / in the registry, if multiple copies of JDK version exists on your machine, it will have the following registry key, such as under HKEY_LOCAL_MACHINE / SOFTWARE / JavaSoft / Java Development Kit / HKEY_LOCAL_MACHINE / SOFTWARE / JavaSoft / Java Development Kit / 1.3 HKEY_LOCAL_MACHINE / SOFTWARE / JavaSoft / Java Development Kit / 1.4 HKEY_LOCAL_MACHINE / SOFTWARE / JavaSoft / Java Development Kit / 1.4.0 beta3 the HKEY_LOCAL_MACHINE / SOFTWARE / JavaSoft / Java Development Kit / CurrentVersion this key set For the JDK version you want to use, if set to "1.4".
-------------------------------------------------- ----------------
{} Solves the problem of compilation in JCREATOR PRO
JCREATOR PRO is a very convenient feature recommended by my colleagues recommended by my colleague, less resource consumption, highlights, automatic prompts, etc. (at least quite excellent in writing Java text editing). But I found a less convenient thing in use. I created an app.java file in the / wuyu / test / directory, and write "package wuyu.test in the source file." When using JCREATOR, you should compile Out /wuyu/test/app.class file, resulting in /wuyu/test/wuyu/test/app.class this file, which is bigger.
Workaround: "Select Tool Type" in JCREATOR -> JDK Tools -> Compiler, select "
Wuyu2002-1-11 2:11