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

I am having a problem that I was wondering whether any of you had seen. I
am using a hosting service "hostpro.com", which uses Apache's server with
Apache JServ. I am not positive which version of JServ they are using,
but they are using

- JDK 1.1.5
- JSDK 2.0

Basically, I am trying to read in a text file to be used as part of the
content on the displayed page. I actually have a separate class doin the
actual reading in of the file. However, instead of reading the file and
outputing it to the screen, it outputs the directory name to the screen.
(With no file not found error or anything). Of course, the first thing to
look at in this situation would be a coding error, but these classes have
run fine using both JRun and JSDK servletrunner.

What I was wondering was:
1) Could this be a server configuration issue?
2) Would this have to do with version inconsistancies for compiling? (I
am using JDK1.1.8 and I believe the next version after JSDK 2.0 to
compile)
3) Whether there were another problem that 

I have tested a lot whether it would be a simple file I/O problem. The
directory the file was in was the /www/templates/ directory. I tried both
/www/templates/"filename" and /templates/"filename" and even (because of
the nature of the hosting, they gave me this directory):
/virtualhost/operatheater.com/www/templates/"filename" Using all of the
above the same result occured. Where the file should have been printed,
the path to the file and file itself were printed instead.

Does anyone have any ideas?

Thanks,

Gabe


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