Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to Download website pages using java

Posted on 2003-03-27
7
Medium Priority
?
280 Views
Last Modified: 2010-04-17
hai...

how can i download pages of a website using java. I mean i need the images and all of the page intact and be able to save it as html page in a folder. If possible locally browsable also.
Thanks in advance.
Rajesh
0
Comment
Question by:rajeshronnet
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 8217619
Surely you cannot be serious???

sorry, but IF THAT WERE POSSIBLE (which it is NOT), then no website, anywhere would be secure, and anyone could then copy ALL of the code that defines the website.  That would be an intolerable SECURITY hole.

AW

0
 

Author Comment

by:rajeshronnet
ID: 8217656
OH NO i really not intended to download code. i come across many web crawlers or polite spiders which will do the same thing. I would like to know that whether java supports that. I also know that using java we can do this. But the saved file will not contain images like jpegs. I would like to know a solution for this.
0
 

Accepted Solution

by:
andy4 earned 100 total points
ID: 8218466
Take a look at:
http://www.javaworld.com/javaworld/jw-05-2000/jw-0518-offload.html
It does just what you want. I have downloaded it a year or so ago and added some advanced features, e.g. filtering, but that is a very good place to start.

Hope this answers your question.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 8219341
so what you are really after is the CLIENT SIDE appearance of the Site, not the original SOURCE CODE that DEFINES the site?  because the original question sounded as though you wanted the SERVER-SIDE source code that defined the web-site.


0
 

Expert Comment

by:CleanupPing
ID: 9446726
rajeshronnet:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 

Author Comment

by:rajeshronnet
ID: 9457780
i think the solution suggested by andy4 will work.
i got stuck in some other work so i coulnt get time to explore it.
Anyway thanks to all those who paricipated in this
0
 

Expert Comment

by:andy4
ID: 9458484
Thanks. (=:
0

Featured Post

Independent Software Vendors: 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

In this post we will learn different types of Android Layout and some basics of an Android App.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Six Sigma Control Plans

572 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