This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
i have a simple java code that calls a servlet on a remote computer over the internet to send some files.if i do that using the dial up connection then it works fine but if i try to run the same code to send the file over the dedicasted line then it says net socket exception:refused to connect.so i make the setting for my computer (it is a proxy machine so i give the address of the proxy host like System.getProperties.put("ProxyHost","")with the ip address of the proxyhost machine and then System.getProperties.put("ProxyPort","") with the port number).so when i try to send it then the exe hangs and shows me the status of sending the file but the file is never sent. so please tell me how to break the ice.coz i want to make my java code to send the file over the lease line.