-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

If you are having problems with installation, this will help. The following
notes are written for Windows NT, where IMHO you should start if you don't
have a lot of time and energy to track down problems.

This assumes using IBM JDK. You should be able to use any other supported
JDK instead.

How to install apache servlet in a fresh machine with not even apache
installed?

0. Install packages in this order.
        - Apache 1.3.6
        - IBM JDK 1.1.7
        - JSDK2.0

1. Add java bin dir to PATH
        for example, C:\jdk1.1.7\bin
2. Add jsdk jar file to CLASSPATH env var.
        for example, c:\JSDK2.0\lib\jsdk.jar

3. Install Apache JServ. During installation provide location of various
files 
from packages installed in step 0. 

By default the installation creates a servlet zone called "root". Servlets
in this zone are located in "C:\Program Files\Apache Group\Apache
JServ\servlets".
To load these servlets use the following URL:
        http://localhost/servlets/MyServlet



How to install Gnu-JSP after JServ is working?

1. Add gnujsp.jar to the CLASSPATH. To do this:
        - open zone.properties file in JServ's conf dir and add location of
gnujsp.jar to repositories property. For example:
        repositories=C:\Program Files\Apache Group\Apache
JServ\servlets,c:\gnujsp-0.9.10\lib\gnujsp.jar

2. Create a directory for jsp to store generated files. Make sure web
server user has permission to use that directory. For example:
        c:\temp\_jsp

3. Open the zone.properties file in JServ's conf directory and add these
lines.

servlet.gnujsp.code=org.gjt.jsp.JSPServlet
servlet.gnujsp.initArgs=repository=c:\temp\_jsp

5. Associate the extension ".jsp" with the GNUJSP servlet.
Open the mod_jserv.conf file in JServ's conf dir and add this line:

ApJServAction .jsp /servlets/gnujsp



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to