Sun Java System Portal Server 7.2 Developer's Guide

Sample Application

The following figure shows the Invoice Portlet. When the user selects a invoice number in the drop-down box, an asynchronous request (AJAX call) is made by the JavaScript client to the portlet. The serveResource() method of the portlet is invoked to serve the content.

Figure 16–4 Sample Application for Resource Serving

Sample Application for Resource Serving