Forgot one setting, the incredibly obscure but useful:

http.nonProxyHosts 

It takes a | separated list of hosts and domains.  Wildcards (*) are
allowed, e.g. "*.ca.com|*.cai.com|localhost|usmpilot|*.techcai.com" 

Had to look at the source for JDK 1.2 to find this one....

The difficulty and obscurity of dealing with HTTP proxies from Java leads me
to conclude that Sun doesn't use proxy servers for its intranet Web
access....

Ken


-----Original Message-----
From: Mike Hulse [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 5:13 AM
To: Tag Libraries Users List
Subject: Re: Question about the io taglib


From: Meltsner, Kenneth 
>If you set the system properties:
>
>http.proxyHost
>http.proxyPort
>
>(either programmatically, or by using -Dpropname=value when starting Java)
>it will work with a proxy server that doesn't require authentication.  For
>authentication, you need to add a custom header to the request.  I have the
>code for this somewhere....

That worked!  Thanks for your help.

Mike


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to