This is my code which i write on the main method. It compile and execute fine but did not show the result.
try {
URL url = new URL("http://seriouswheels.com/cars-a.htm");
BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));
String str;
while ((str = br.readLine()) != null) {
System.out.println(str);
}
in.close();
} catch (MalformedURLException e) {
}
Actually if you see the site there is a index from "A" to "Z" which contain car name and its model. what i want to read each page and store car name and its model in the data base. But read operation must be from internet not from save page. If you can help me i will be very thankful.
[ August 23, 2006: Message edited by: ehsan dar ]