Getting data from another web site

Is there anyway to do this? I am trying to get data from another website. That website has a search function but i want the result to be populate to my DB. IS that possible? Can i get the http header of the return page?

In ASP, i can use HTTPPOST. Is there something like that in JSP?
yan_er04Asked:
Who is Participating?
 
cheekycjConnect With a Mentor Commented:
you have to use URLConnection or use an API such as:
http://www.innovation.ch/java/HTTPClient/

to use URLConnection:
http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html

CJ
0
 
yan_er04Author Commented:
Although CJ just posted some links, the links are excellent. Save me a lot of time!
0
 
cheekycjCommented:
Glad I could help.  Thanx for the "A"
0
 
yan_er04Author Commented:
welcome!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.