java app behind proxy to use http_proxy variable in linux
Posted
by rbbeltran
on Stack Overflow
See other posts from Stack Overflow
or by rbbeltran
Published on 2010-03-12T02:34:43Z
Indexed on
2010/03/12
2:37 UTC
Read the original article
Hit count: 146
hello java guys,
im thinking of a simple java app (command line) that connects to the internet to download xml file, the problem is that my ubuntu is using a proxy to connect to internet with username and password (tru http_proxy ="http://:@:" ). So My question is, could it be possible to write a java app to use http_proxy variable? instead of programmatically setting http proxy and host in every app i will write.
© Stack Overflow or respective owner