In this module I will discuss how an applet can communicate with a servlet.
When you send information from a form to a servlet, the flow is one-way: the form sends information to the servlet, and in return the servlet
sends information to the browser, which replaces the form displayed.
With an applet involved, two-way communication is much simpler.
After completing this module you will be able to:
Design an applet that will communicate with a servlet
Add code to an applet to send a GET request to a servlet
Add code to an applet to read the servlet response