Install apache+apachejserv+gnujsp on Windows2000
My machine is Win2K (c:winnt) +jbuilder3 (D:jbuilder3; with jdk1.2 in D: Jbuild
Er3java)
1, you want to download apache,apachejserv,jsdk2.0 and gnujsp (166.111.136.159 have downloads)
2, install Apache in sequence (D:program files)->jsdk2.0 (d:jsdk2.0)->apachejserv (d:
Program Files).
3, to confirm that Apachejserv has been working properly, the symptom is that when you start Apache there will be a line of prompts:
"apache/1.3.6 (Win32) apachejserv/1.1 running"
4. Unlock gnujsp, Copy the Gnujsp10.jar,servlet-2.0-plus.jar to the/home/httpd/sevlets directory
Next
3. Modify jserv.conf, add
apjservaction. JSP/ Servlets/org.gjt.jsp.jspservlet
Apjservmount/servlets/root
(this line does not move, It is said that under Linux this is used to store compiled JSP file generated. Java and. class, but
under Win2K
decided by repositories, this line is not useful, changed the Apache can not move. I don't know if that's true.
, enlighten me)
4. Modify Jserv.properties, add
Wrapper.classpath=d:jbuilder3javalibtools.jar
Wrapper.classpath=d:program filesapache jserv 1.1servletsgnujsp10.jar
Wrapper.classpath=d:program Filesapache jserv 1.1servletsservlet-2.0-
Plus.jar
Wrapper.classpath=d:program FileSapache jserv 1.1apachejserv.jar
Wrapper.classpath=d:jsdk2.0libjsdk.jar
5. Modify zone.properties and add
D: The program Filesapache groupapachejsp is used to store the. Class and. J
Ava files generated by the compiled JSP.
repositories=d:progra~1apache~1apachejsp
^^ ^^ ^^ ^^ ^^ ^^ the ^^ ^^ ^^ ^
never write: D:program filesapache Grou papachejsp
Servlet.gnujsp.code=org.gjt.jsp.jspservlet
Servlet.org.gjt.jsp.jspservlet.initargs=checkclass =true
servlet.org.gjt.jsp.jspservlet.initargs=scratchdir=d:progra~1apache~1a
pachejsp
&n
&am P
servlet.org.gjt.jsp.jspservlet.initargs=compiler=builtin-javac-encoding
%encoding%-classpath%classpath% -D%scratchdir%-deprecation%source%
The rest is "a cup of tea, into the hello.jsp, and then JSP normal operation."