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

> Rashmi Nandwani wrote:
> 
> Hello,
>      I have a file tht has some parameters and there is a class tht reads tht file 
>and creates a connection to a database..fetches some values in and creates a string 
>out of it. This is a util class
> used by a servlet. I cannot use an file based initArgs file cause this is a utility 
>class rather than a servlet.
>     My question is where do i need to to put the file tht i want the util class to 
>read. The Details of my config are as below
> 
> JServ: 1.1
> Apache: Apache 1.3.12-2
> OS: RedHat Linux 6.1
> Java: Sun JDK1.2.2
> 
> servletpath /home/httpd/servlets
> 
> i need to to know where does the apache jserv reads external files from ..??? thanks 
>for all the help. in advance.
> 
> jai


Files are read from the current working directory, so from the directory
which was working directory when the JServ was started. If you start JServ
manually, it's the directory where you typed in the starting command.
If you start JServ from Apache, it's the Apache's working directory.

Makub


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