Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading a file on server in a jsp

843838Mar 21 2007 — edited Apr 21 2008
Hi !
I am trying to read a file in jsp code with RandomAccessFile. It seems like I can not address the file with absolute path like : new RandomAccessFile("home/user/test/myown/dett.ost");
My jsp is under ROOT/jsptest in a Linux Tomcat . Anybody know if my assumption is right. I have done the same within a servlet, but it seems like jsp behave different.

Thank you!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2008
Added on Mar 21 2007
5 comments
467 views