O'Reilly logo

Web Technology: Theory and Practice by M. Srinivasan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.9 FAVCONNECT EXAMPLE MODIFIED

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.

 

LoggedIn.jsp

 

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required