Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to modify the relative path in the HTML file read from InputStream

843790Jul 21 2009 — edited Jul 23 2009
Hello,

I use the InputStream to read the html content from one web site. Then I print the html content on one local web page. The most content of the html content can be displayed, but:

1. The image from the web site cannot be displayed
2. there are many hyper text link, which points to a resource on the remote host. so I have to transfer the relative path of the hyper text link to the absolute path.


how can I solve the problems?

Thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2009
Added on Jul 21 2009
2 comments
256 views