How to set proxy?
"wolverine my" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi!
I try to set proxy to the WebClient (using 1.62):
WebConversation wc = new WebConversation();
wc.setProxyServer("localhost", 80);
System.out.println(wc.getProxyHost());
System.out.println(wc.getProxyPort());
However the result is
null
0
It seem that the setProxyServer is not working correctly??
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642