Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reading text file in java  RSS feed

 
sanjiv kejriwal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on a application in which i have to read input from text file and display the content in an applet.Can u help me how can i read the file in applet.I try FileReader but it is not working
thanks
 
Detlev Beutner
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First: Working on an application or an applet?!
Assuming applet: Trying to read locally or remotely (via http)?
Assuming http:

and then go on as usual...
Hope it helps
Detlev
[This message has been edited by Detlev Beutner (edited July 16, 2001).]
 
sanjiv kejriwal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!