----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hey! I'm a man, I can admit when it's my fault :-D (hehe)
Just to clarify. Since the init args are read only once,
does this mean that they remain in core and available to
getInitParameter()?
-Freeman
-----Original Message-----
From: Jon Stevens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 31, 2000 2:35 PM
To: Java Apache Users
Subject: Re: Zone initargs problem...
----------------------------------------------------------------
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!!!
----------------------------------------------------------------
on 5/31/2000 2:22 PM, Freeman Pascal at [EMAIL PROTECTED] wrote:
> Looking closer at our code the problem seems to be ours (isn't always the
> user's code and not Jserv :-).
haha...this is the *second* time a "jserv problem" has happened to you guys
now. :-)
(yes i am keeping count for teasing purposes <smile>).
> We declared the variables that held the init args as class
> (static) variables. Depending on which zone got started
> first would determine the initial value of these static
> attributes.
yep.
> How are init args handled? Are the init args essentially
> in core for the life time of the servlet engine, or are they
> looked up with each call to getInitParameter()? If there's
> no penalty for calling getInitParameter() to query the
> init args for each doPost() or doGet(), I'll just do that.
>
> This would allow me to alias the apps as desired and provide
> unique init args for each.
I suspect they are only read in from the file once.
-jon
--
--------------------------------------------------------------
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]