Home > Database > Mysql Tutorial > Win2000安装Apache+ApacheJserv+gnujsp之完全攻略_MySQL

Win2000安装Apache+ApacheJserv+gnujsp之完全攻略_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 14:08:43
Original
889 people have browsed it

Apache

在Windows2000上安装Apache+ApacheJserv+gnujsp之完全攻略
我的机子上面是Win2k(c:winnt)+JBuilder3(d:JBuilder3;自带jdk1.2在d:jbuild
er3java)
1、你要下载apache,apacheJserv,jsdk2.0和gnujsp(166.111.136.159有下载)
2、按次序安装apache(d:program files)->jsdk2.0(d:jsdk2.0)->apacheJserv(d:
program files)。
3、确认apachejserv已能正常工作,其症状是启动apache的时候会有一行提示:
  "Apache/1.3.6(win32) ApacheJserv/1.1 running"
4.解开gnujsp,把gnujsp10.jar,servlet-2.0-plus.jar拷到/home/httpd/sevlets目录

3.修改jserv.conf,加入
  ApJServAction .jsp /servlets/org.gjt.jsp.JspServlet
  ApjServMount /servlets /root
  (这行不用动,据说在linux下面这是用来存放编译jsp文件生成的.java和.class,但
在win2k
  下面由repositories决定,这行没有用,改了apache动不了。不知这样理解正不正确
,请赐教)
4.修改jserv.properties,加入
  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.修改zone.properties,加入
  D:Program FilesApache Groupapachejsp是用来存放编译Jsp生成的.class和.j
ava文件。
  repositories=D:PROGRA~1APACHE~1apachejsp
        ^^^^^^^^^^^^^^^^^^^^^
  千万不要写成:D:Program FilesApache Groupapachejsp
  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
    &
  servlet.org.gjt.jsp.JspServlet.initArgs=compiler=builtin-javac -encoding 
%encoding% -classpath %classpath% -d %scratchdir% -deprecation %source%
剩下的就是"冲杯茶,打入hello.jsp,然后jsp正常运行"。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template