Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IOException problem  RSS feed

 
Suresh Sankar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i am trying to read a text file from EJB.
how AppServer can understand the path of my text file from Bean.
i have to give the path from jar file name onwords or any other way.


waiting for reply thanks in advance
 
Mohana Murali
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Keep your text file in class path. Try reading from ClassLoader as stream.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!