View Single Post
Old 06-01-2005, 03:36 AM   #1 (permalink)
j.gohel
Code Monkey
 
Join Date: Apr 2005
Posts: 68
j.gohel is on a distinguished road
Need guidance regarding a program

Hello Sir,

I am making an program in Java in which from an existing website

i want to fetch the contents of the page & store it in a database table

using JDBC.

Its like, using the URL class of java.net.* package I am calling

a particular URL & opening a connection to it using URLConnection

class.

Now what am i trying to do is in the web page there are particular main

sections having particular information regarding that section(for e.g

Computers,Notebooks,Tablets,etc).

Computers Notebooks Tablets
Detail11 Detail21 Detail31
Detail12 Detail22 Detail32
Detail13 Detail23 Detail33
Detail14 Detail24 Detail34

All the details12,12 ,13, 14,etc are hyperlinks

Now for each main section the detailed information is provided in the

form of a hyperlink which when clicked displays the information about

that particular section.

So what i want to do is fetch the contents of a particular section's

each hyperlink provided & parse that contents & store them in a

database table.

So how to approach regarding this using only Core Java API.

Waiting for the reply.

Thanking you,
Jignesh
j.gohel is offline   Reply With Quote