Forums Register Login

How to follow the weblink from java

+Pie Number of slices to send: Send
Hi everybody

I want to write the java program so if I give it 1 url then it can read the page and also follow all the link on page and read that page also
+Pie Number of slices to send: Send
Hey friend , you have to put code here so that our experts can help.
Please clearly define your problem.

best regards,
omi
+Pie Number of slices to send: Send
As Omi said, your question is fairly vague. You need to Tell The Details
Are you trying to launch a web browser? Have a look at java.awt.Desktop
Are you trying to display HTML in your application? Have a look at javax.swing.JEditorPane.
+Pie Number of slices to send: Send
Actually, it looks like he wants to write a spider.

My advice: don't do it. It's hard to do without being intensely rude. A poorly-written spider can be a terrible resource hog, and can get you banned from many web sites -- this one, for example!

If you need a spider, use a well-written existing code like GNU wget, for example.
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 754 times.
Similar Threads
Private method overriding
Android Applications and Java
Passed Part I
pagination for ArrayList
What does this code do?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:08:15.