Glossary Application Tag Libraries

In the Glossary application, JSP tag libraries are used extensively. Figure 13-4 shows the main home page classes: index.jsp / index.jsp_Client. These classes are realized by the index.jsp component, which also uses the Entry Tags tag library and includes a utility page, which in this implementation contains a simple static operation definition to clip long strings when placing them in table cells. The source for the index page follows (Listing 13-7).

Figure 13-4. Class diagram including Glossary application's main home page index.jsp

Listing 13-7. The index.jsp source
 <%@ page errorPage="error.jsp" %> <%@ taglib ...

Get Building Web Applications with UML Second Edition 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.