Thanks, works great . but do you know another method for only one web application an not all tomcat context ?
thks Max ----- Original Message ----- From: "Bodycombe, Andrew" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 11:54 AM Subject: RE: servlet and proxy > 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> > -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
