View Single Post
  #2 (permalink)  
Old 07-12-2007, 05:20 PM
karl karl is offline
Member
 
Join Date: Jul 2007
Posts: 4
karl is on a distinguished road
This is pretty simple
Okay first of all do u need to enter data into a .doc document or u want it in excel format . well just google it up .. all you need to create is a file where you want to store this data. Then using
String tempfilepathnameDA = "D:\\........doc";
File tempDA = new File(tempfilepathnameDA);
FileWriter fwDA = new FileWriter(tempDA);

String source= "here goes your website address";
now connect to the website
URL url = new URL (source);
http.... and all that jazz
line = rd.readLine();
then start reading and simultaneously enter into doc file
fwDA.write(line+ ",");
Reply With Quote