Solved

Getting data from another web site

Posted on 2002-05-09
4
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 50 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unit test DAO layer 1 142
J2SE 5.0 metadata 1 67
How to return JSON response to ajax call in strut2 action class with SUCCESS result 2 209
Suggestion on WebSite Template Sites 6 116
While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 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