L ISTING 19.7
<djs:helloAttribute name=”Bob” /><br>
Copy this file to the <SERVER_ROOT>/webapps/djs/ directory and open your browser to the
You should see a page similar to Figure 19.4.
F IGURE 19.4
The HelloAttribute Tag Page.
In this chapter you covered custom JSP tag libraries. We discussed the two types of tag
libraries: tags without bodies and tags with bodies. We also looked at how attributes can be
passed to custom tags.
In Chapter 20, “Catalog Case Study,” we will begin our case studies. The next few chapters
will show you how to put together all the concepts we have covered so far.