You can set these properties when tomcat starts up:
export CATALINA_OPTS="-Dhttp.proxyHost=wwwww -Dhttp.proxyPort=xxxxx
-Dhttps.proxyHost=yyyyy -Dhttps.ProxyPort=zzzzz"
Then re-start tomcat.
Regards,
Andy
-----Original Message-----
From: Maxime [mailto:max_sts@;hotmail.com]
Sent: 31 October 2002 16:38
To: Tomcat Users List
Subject: servlet and proxy
Hi
URL Connections establish by my servlets must pass throw a proxy server
(HTTP/HTTPS)
a simple
System.getProperties().put("proxySet","true" );
System.getProperties().put("proxyHost",host);
System.getProperties().put("proxyPort",port);
in a servlet "load-on-startup" doesn't work.
How can i do that ?
thanks
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>