Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Now that you understand how HttpClient is put together, let’s consider a simple Swing client designed to talk specifically to the JSP shown in Listing 3-2. Before diving into the code, let’s look at how our Swing client works.
Figure 3-7 shows the initial user interface. Notice the text field at the top, allowing the user to specify a URL, and the two buttons.