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.15 CUSTOM TAG LIBRARY

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.

 

Index.jsp-TFD

 

Fig. 6.16 Index.jsp-TFD

 

Figure 6.10 shows the main display page that will show the TFD (Thought for the day). Refreshing ...

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