Using the custom “advice” tag

The “advice” tag is a simple tag that takes one attribute—the user name—and prints out a piece of random advice. It’s simple enough that it could have been just a plain old EL function (with a static method getAdvice(String name)), but we made it a simple tag to show you how it all works...

The TLD elements for the advice tag

image with no caption
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset