Skip to Content
Former Member
Dec 01, 2004 at 07:51 AM

Reading file


Hi. I would like to read a txt file and display the content. i am relatively new in this area and need some help. i wrote some codes but it complained that the system couldn't find the file. i placed the txt file within the irj/resources/myproj folder, and also in the same folder with the jsp file that reads it. yet, the system couldn't find the file. may i know where to place the file and how to read the file? appreciate if anyone can provide some sample code for reference. thank you.