>From a quick glance of this code it should return whatever is
requested of the URL.

What do you mean by 'content' as opposed to the source?

If you are looking to download images or video clips then you will
have to write some code to scan the HTML returned to find the URL of
those items then call this code again to download those items
separately.

Regards

Bob

On 25 June 2011 14:11, ANUJ KUMAR <kumar.anuj...@gmail.com> wrote:
> can some please provide me with the code to read the content of a url.
> i mean only the content of the url not the html sourse.
> I used he code given in
> http://download.oracle.com/javase/tutorial/networking/urls/readingURL.html
> but it is reading the html content and not the actual content.
> Thanks,
> Anuj
>
> --
> You received this message because you are subscribed to the Google
> Groups "Java EE (J2EE) Programming with Passion!" group.
> To post to this group, send email to
> java-ee-j2ee-programming-with-passion@googlegroups.com
> To unsubscribe from this group, send email to
> java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to