----------------------------------------------------------------
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!!!
----------------------------------------------------------------
I have to use the full path in order to access the particular file, it seem
that JServ (v 1.1.2) is unable to get the file from the document root of the
Apache server. (v 1.3.11). Also is it possible to have multiple document
root in Apache?
Pls. does anyone know any other ways to solve it? Thanks.
----- Original Message -----
From: Sandy Yung <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 22, 2000 5:06 PM
Subject: Re: Can't Read files in Server using JServ
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> I have the same problem as yours. But i found that the servlets
> takes / as the current directory. Does anyone know how to set the
> current directory of servlets?
>
>
> >From: "Joey" <[EMAIL PROTECTED]>
> >Reply-To: "Java Apache Users" <[EMAIL PROTECTED]>
> >To: "Java Apache Users" <[EMAIL PROTECTED]>
> >Subject: Can't Read files in Server using JServ
> >Date: Tue, 22 Aug 2000 15:47:11 +0800
> >
> >----------------------------------------------------------------
> >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!!!
> >----------------------------------------------------------------
> >
> >Hi,
> >
> >I am trying to write an application that when the client send a request
to
> >the Apache server, the certain servlet is activated and will read data
from
> >the respective text file, and return what it have read to the client. I
> >have
> >tested this particular application using the ServletExecDebugger, and it
is
> >working fine. However when I tried to put the application on actual
server
> >and Jserv,
> >it seem that it could not return anything. Not sure is whether it can't
> >find
> >the file or what. Do I need to set any properties files in JServ to
> >indicate
> >where to find the text files? Or any permission files?
> >
> >Any advice will be greatly appreciated..Thank you.
> >
> >regards Jo
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >Please read the FAQ! <http://java.apache.org/faq/>
> >To subscribe: [EMAIL PROTECTED]
> >To unsubscribe: [EMAIL PROTECTED]
> >Search Archives:
> ><http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> >Problems?: [EMAIL PROTECTED]
> >
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]