Results 1 to 3 of 3
- 05-13-2009, 10:52 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
How to download data from a website.
How would I write code in java to allow me to go to a certain URL and take information off of it?
Here are my two ideas on how I could accomplish this task.
1. Create a sort of macro that copies and pastes the information from the website into a text document.
2. Analyze the websites HTML to find the information I want.
Sadly, I have no idea how I will accomplish this task. It would be greatly appreciated if someone could help me.
PS: I have both a AIM and MSN account if that would make communication easier.
- 05-14-2009, 07:26 PM #2
go to a certain URL and take information off of it
Reading Directly from a URL
copies and pastes the information from the website into a text document
Trail: Creating a GUI with JFC/Swing
Using Text Components
How to Use Text Areas
You can use the append method to add each line you read to the textArea or use the superclass JTextComponent read method.
How to Use Scroll Panes
Using Top-Level Containers
Analyze the websites HTML to find the information I want
Strings
- 05-15-2009, 07:08 AM #3
Senior Member
- Join Date
- Nov 2008
- Posts
- 286
- Rep Power
- 5
N.B. You'll generally need to sign your applet for it to be able to access arbitrary URLs.
Neil Coffey
Javamex - Java tutorials and performance info
Similar Threads
-
programming website?
By ragarwal in forum Forum LobbyReplies: 11Last Post: 12-21-2009, 12:37 PM -
set up tomcat on website
By hunterbdb in forum Java ServletReplies: 1Last Post: 04-22-2009, 06:52 AM -
WebSite Update!
By Xyle in forum Reviews / AdvertisingReplies: 1Last Post: 02-16-2009, 08:47 AM -
How to download website (Get all link in website)
By finalmem in forum Advanced JavaReplies: 0Last Post: 11-12-2008, 08:43 AM -
Getting character set from a website
By Java Tip in forum Java TipReplies: 0Last Post: 11-26-2007, 12:53 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks