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
Solved

Getting data from another web site

Posted on 2002-05-09
4
169 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 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jersey maven project error 7 142
stateless EJB with glassfish 2 73
Use tracing facilities in your browser steps 2 122
how to hide hide popup page refresh second time? 10 141
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 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