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

> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> if you want that to work, then you'll need to put the reading of the config
> parameters in something other that the init() method.  Typically, the init()
> method is called only once, when the servlet is instantiated the first time.

There is a private method that actually loads the file and copies the values
to global vars.  This method is called in the init and when the correct
querystring is present.

> Try reading the config file in the processRequest method instead.

I'd rather not do this since it would then load the file on every hit.

Like I said, the way I'm doing it works, but only once.  Its almost as if
the actual object is being cached somewhere even though the actual object
itself is being nulled and then recreated.

Thad


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