JSP 2.0 Examples - Book SimpleTag Handler


Illustrates a semi-realistic use of SimpleTag and the Expression Language. First, a <my:findBook> tag is invoked to populate the page context with a BookBean. Then, the books fields are printed in all caps.


Result:
Field Value Capitalized
Title The Lord of the Rings THE LORD OF THE R?NGS
Author J. R. R. Tolkein J. R. R. TOLKE?N
ISBN 0618002251 0618002251