posted 15 years ago
I have created proxy server. It runs on port 9000.
I made proxy settings in my web browser to handle the request coming at port 9000. When I hit any URL on Web browser then I read the data from socket InputStream and write thr data back to Socket outputstream.
Now I want to append some response (in the form of Javascript) with the Incoming request but when I write the response I can't see any code embedded in the web browser.
When I print the response coming from the Web Browser it gives me data in unreadable format....
My issue is How can I append my response with the Incoming request from Socket and write it to another socket.......................