The example of FavConnect is shown in Figure 6.47 while discussing Servlets. The output was rather raw. Now let us consider a formatted output using JSP. The LoggedIn.JSP program can be modified to show the connections in a more palatable format as shown below. The code is just for showing the connections.
It is to be observed that the JSP code shown in Figure 6.3 can be included by the statement as shown below.
Fig. 6.3 LoggedIn.jsp
<jsp:include page=“dispItems.jsp” />
This appears in line 28 of Figure 6.3. The output produced by the included code will be put in place at the location of the include directive. ...