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!

How can I read a file in WEB-INF?

640063May 12 2008 — edited May 14 2008
I have a file under WEB-INF/classes/properties that I want a webapp to be able to read. I'm doing
BufferedReader in = new BufferedReader(new InputStreamReader(fin));
But I don't know what to set "fin" to.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2008
Added on May 12 2008
5 comments
1,346 views