Hi!
I am trying to write a program that connects to an URL and writes the response to file... actually I only want to save the BODY of an HTML-file to a text file.
There was a post in this forum with a link to some java-examples a few days ago and I tried to use one of the classes from these examples but I keep getting 400 and 403 errors when trying to connect.
Here is the link:
Could perhapse someone give me a working peace of code that will make a connection (via proxy, none auth.) and just prints the responde on the screen?
Thank you very much...
cheers
frag
patrick.metz@epost.de
I am trying to write a program that connects to an URL and writes the response to file... actually I only want to save the BODY of an HTML-file to a text file.
There was a post in this forum with a link to some java-examples a few days ago and I tried to use one of the classes from these examples but I keep getting 400 and 403 errors when trying to connect.
Here is the link:
Could perhapse someone give me a working peace of code that will make a connection (via proxy, none auth.) and just prints the responde on the screen?
Thank you very much...
cheers
frag
patrick.metz@epost.de