codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Files  Archive Import (David) at 14:18 on Friday, December 06, 2002
 

Im having trouble opening a file. I actually have no idea what I'm doing. I really want to know how to open one from java. Thanks a ton.

  Re: Files  mmarab at 14:02 on Thursday, January 25, 2007
 

There you go:

FileReader fr = new FileReader("/forum/mydata.txt");
BufferedReader br = new BufferedReader(fr);








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: JTable..
•  forum skin code
•  Using Fork in Perl
•  Re: import contacts of msn/yahoo
•  Re: Files
•  Re: Manipulating large Images.
•  Re: Replacing Class definition comments in java files
•  Re: Multiplication Problem
•  Re: Overlaying frames


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007