The complete introduction to Windows 2000 installation apache+apachejserv+gnujsp

Source: Internet
Author: User
Tags modify wrapper

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."







Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.