Downloading Files From Internet (HTTP) With Java

Hi, could anyone tell me how I could download a file at a HTTP:// web address through Java code. It needs to be so that the same java code can automatically download updates to the configuration file of the program I am writing.Thanks.
[249 byte] By [ta2a] at [2007-11-27 0:50:37]
# 1
Look at UrlConnection. You might also want to look at Java Webstart.
CeciNEstPasUnProgrammeura at 2007-7-11 23:20:49 > top of Java-index,Java Essentials,Java Programming...
# 2
You can use HttpUrlConection, or write you own downloading code you use exec() to execute downloader, say wget.
Michael.Nazarov@sun.coma at 2007-7-11 23:20:49 > top of Java-index,Java Essentials,Java Programming...
# 3
Thanks both. :)
ta2a at 2007-7-11 23:20:49 > top of Java-index,Java Essentials,Java Programming...