Chapter 17. USING APPLETS AS SERVLET FRONT ENDS

Topics in This Chapter

  • Sending GET data and having the browser display the results

  • Sending GET data and processing the results within the applet (HTTP tunneling)

  • Using object serialization to exchange high-level data structures between applets and

  • Sending POST data and processing the results within the applet

  • Bypassing the HTTP server altogether

HTML forms, discussed in Chapter 16, provide a simple but limited way of collecting user input and transmitting it to a servlet or CGI program. Occasionally, however, a more sophisticated user interface is required. Applets give you more control over the size, color, and font of the GUI controls; provide more built-in capability (sliders, line drawing, pop-up ...

Get Core Servlets and JavaServer Pages™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.