Hi, welcome to the ranch!
Yes, your Java client can use sockets to call a servlet. But the standard libraries provide some other classes to make things much easier. Look at URL and HttpURLConnection. These handle all the HTTP headers going both ways for you. The
Sun Networking Tutorial works through some examples.
How is your applet calling the servlet?
You should be able to use the very same code in both clients, no?
[ July 05, 2007: Message edited by: Stan James ]