Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Getting data from another web site

Posted on 2002-05-09
4
Medium Priority
?
175 Views
Last Modified: 2010-04-01
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
Comment
Question by:yan_er04
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 200 total points
ID: 7002449
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
 

Author Comment

by:yan_er04
ID: 7005076
Although CJ just posted some links, the links are excellent. Save me a lot of time!
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 7005081
Glad I could help.  Thanx for the "A"
0
 

Author Comment

by:yan_er04
ID: 7005421
welcome!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question