JSP Tutorials - Herong's Tutorial Examples - v5.11, by Herong Yang
Custom Tag Attributes
This chapter provides tutorial notes and example codes on JSP custom tag attributes. Topics include defining tag attributes as Java tag object properties using setter methods; tag attribute value type conversions; supporting EL expressions in tag attributes; passing EL expressions as strings to tag class.
These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.
Tag Attributes Are Tag Object Properties
Setter Method Example - EchoTag.java
Value Type Conversion
Value Type Conversion Example - AttValueTag.java
Accepting EL Expressions
Accepting EL Expression Example
Passing Expression as String Example
Using jsp:attribute Action Elements
Conclusions:
Table of Contents
JSP (JavaServer Pages) Overview
Tomcat Installation on Windows Systems
Syntax of JSP Pages and JSP Documents
JavaBean Objects and "useBean" Action Elements
Managing HTTP Response Header Lines
Non-ASCII Characters Support in JSP Pages
Overview of JSTL (JSP Standard Tag Libraries)
Multiple Tags Working Together
Using Tomcat on CentOS Systems
Connecting to SQL Server from Servlet