hi, I am an applet-servlet application using raw socket comm. Can I swith all to HTTP or URL communication? as socket has some serious problems. Thanks
Ashwin Desai
Ranch Hand
Joined: Jul 17, 2000
Posts: 124
posted
0
Hi, Yes you can use HTTP communication. Just wrap your interaction objects into HTTP Get/Post requests and send them across to the server. You may refer Java Servlet Programming by Orielly for more information. Ashwin.
Desai Sandeep
Ranch Hand
Joined: Apr 02, 2001
Posts: 1157
posted
0
Hi Simon, Yes, you can get rid of the socket.You will have to use HTTP Tunnelling, which means you are opening URLConnection, and passing the data using the HTTP Protocol.This is frequently used when you want your Applet client to communicate with the servlet or any other server-side components via servlets. Hope this helps. Regards,