Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

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?
0
yan_er04
Asked:
yan_er04
  • 2
  • 2
1 Solution
 
cheekycjCommented:
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now