Thanks a lot from all of you professional.

     I set the relative path and it worked right but I want use from alias
     path  Would you please explain more about setting alias path ? How can
     I set this alias path in apache?

     Mina


______________________________ Reply Separator _________________________________
Subject: Re: Read a TXT file
Author:  <[EMAIL PROTECTED]> at internet
Date:    17/01/2000 07:23 �


hi there!
try making ur URL like this
  http://host/Head.txt
( without port number )
now the servlet tries to read the file "head.txt" in the directory which you
have aliased
as the Inet root
1. if your file is in some other directory, then give a relative path ( if that
directory is a sub directory of our Inet root .
2. or give another alias name ,  pointing to the directory of "head.txt"
   and specify ur URL as
  http://host/NEWALIAS/head.txt
second implementation is preferred.

please acknowledge if it works

regards
balaram reddy

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to