----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I don't think there's any Windows-specific stuff to deal with.  Here are 
the pertinent config settings I use for GNUJSP:

In zone.properties (or whatever zone file you use)

# Include GNUJSP in the zone repositiory:
# Also, include the JSDK 2.2 classes
repositories=d:\apache\jserv\servlets,d:\apache\jserv\gnujsp10.zip,d:\apps\j 
swdk-1.0\lib\servlet.jar


# define an alias for GNU JSP
servlet.gnujsp.code=org.gjt.jsp10.JSP10Servlet

# Set init args for GNU JSP
servlet.gnujsp.initArgs=scratchdir=d:\apache\web\jsp,jserv=true,pagebase=d:\ 
apache\web\htdocs,compiler=javac -classpath 
d:\apps\jswdk-1.0\lib\servlet.jar;d:\apache\jserv\gnujsp10.zip;%classpath%\% 
scratchdir% -d %scratchdir% -deprecation %source%

Some details:

* Set scratchdir to a directory where the JServ process can write 
.java/.class files.
* Set pagebase to the "DocumentRoot" from httpd.conf; this is a hack so 
some redirect stuff can work.
* Set compiler to a command-line that invokes the Java compiler you want to 
use.  In the classpath expression here, you need to include the JSDK 2.2 
classes; in my example I use the JSWDK 1.0 stuff.  Note that you must not 
include the JSDK 2.2 classes in the classpath for running JServ.
* Don't forget jserv=true.  I can't remember why you need this, but you do.

In httpd.conf, (after you include mod_jserv.conf):

# Map .jsp files to GNU JSP servlet
ApJServAction .jsp /servlets/gnujsp

- Fernando



At 08:43 AM 12/17/99 +0200, you wrote:
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files.  Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>Hi everybody!
>
>Could someone attach to a mail to me his/her apache and jserv
>configuration files with the GNUJsp installed on a WinNT
>environment? I tried the INSTALL.apache instructions included in the
>package with no success and I think some Win specific .properties and
>.conf files would help.
>
>TIA
>
>Thanos Varias
>
>
>
>--
>--------------------------------------------------------------
>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]



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