Thanks for that explanation, Craig. There are two lines in the zone's
properties file that seem to be involved with setting up the scratch
directory:

        servlet.jsp.initArgs=scratchDir=/usr/local/apache/servlet
        jsp.initparams=scratchdir=/usr/local/apache/servlet

Are they both necessary? Are either or both correct?

BTW, in the Apache error_log, this message appears every time I start
the server:

        The JSP Engine is not configured with a scratch dir.
        Please add
                jsp.initparams=scratchdir=<dir name>
        in the servlets.properties file for this context

This does not inspire confidence...

Thanks again,
Bruce Conrad

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 14, 1999 4:34 PM
To: Bruce Conrad
Cc: [EMAIL PROTECTED]
Subject: Re: JSP with Apache and JServ


Bruce Conrad wrote:

>
> One thing I don't understand about JSP is this: the .jsp page is
> compiled into a servlet. Where is that servlet placed? Does the
servlet
> zone's properties file not need a repositories entry saying where the
> compiled servlets are placed?
>

For the JSWDK implementation, the generated servlets are stored in the
scratch
directory that you've defined in the initialization parameters of your
JSP
servlet.  Because of this, you don't have to do anything with your zone
properties or anything like that.

Normally, only the compiled ".class" file is kept, but you can set an
initialization parameter to keep the generated source as well.

Craig McClanahan

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to