----------------------------------------------------------------
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 12/24/99 7:14 AM, Aalok Kaushish <[EMAIL PROTECTED]> wrote:
> If that is the case then what is a workaround for it? As I have to set Env.
> Variable in order to let my servlets access my data files.
Wrong. That is a horrible way to do things. You would be sending the same
exact information over the wire for each and every request. That is just
plain stupid.
You should simply create a property file that the servlet should read. You
can also use JSDK methods by setting properties in the zone.properties file.
RTFM. If you can't do that (i don't see why not), then have your servlet
make an http connection back to the web server and read a properties file
off of disk at init() time. The above solutions are about 10 lines of code.
Tops.
> Also I did like to know whether its a feature or bug?
Feature. In order to improve the performance of the protocol by like 500% we
felt that it was a fair trade off.
-jon
--
Come to the first official Apache Software Foundation
Conference! <http://ApacheCon.Com/>
--
--------------------------------------------------------------
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]