Hello, I'm writing a jsp(which will shortly be uploaded on our server).Now what i'm trying to do is when a client requests this jsp this jsp would hold the logic to open a socket connection to the client(which has made a request)and write or read a file to/from the client. I want to achieve this without any client side coding/installation. this is what i tried writing: Socket client=new Socket(InetAddress.getByName(request.getRemoteAddr()),1500); But everytime it gives : Connection refused Can anyone help?Is there another way of doing it? Thanks in advance.
Peter den Haan
posted 15 years ago
You already posted this to the JSP forum, where I answered the question. Please don't crosspost. People will waste their time giving duplicate answers. - Peter