Java Servlet Proxy -
if set system use proxy in dopost method of servlet out going connections in method go through proxy? example:
protected void dopost(httpservletrequest request, httpservletresponse response) throws servletexception, ioexception { system.setproperty("http.proxyhost", "myproxyserver.com"); system.setproperty("http.proxyport", "80"); connecting third party here. }
Comments
Post a Comment