Servlets and Applets
Hi
I have an applet that connects to a RS232 device. After i get the required info from the device, i would like to send that info back to the servlet.
I'm reading up on URL class and URLConnection class, am i heading in the right direction, or am i barking up the wrong tree?
Any other methods of communicating between an applet and a servlet are welcomed.
thank you
:)
[408 byte] By [
monk3ya] at [2007-11-27 8:50:54]

# 3
It's pretty straightforward. Keep in mind that the applet doesn't need to know that a servlet is handling the request on the server side (for example, for all the applet knows, the server-side functionality is handled via CGI) and the servlet doesn't know that the request is coming from an applet (for all it knows, it could be coming from a browser or a spider program, or whatever).
Just follow basic HTTP (which is well-documented) and it should be simple. Time-consuming, probably, but simple.