A tag in the context of JSP signifies a lot of abstraction – a piece of recurring function that works behind the scenes, an architecture that promotes separation of concerns. When standard tags may not suit every occasion, there are situations where this model is put to use for customized needs. This is where custom tag libraries are positioned.
Designers or Developers can create their tags to be used in JSP. Consider for instance a requirement where a randomized thought-for-the-day is to be shown.
Fig. 6.16 Index.jsp-TFD
Figure 6.10 shows the main display page that will show the TFD (Thought for the day). Refreshing ...