|
Developing Custom JSP Tag Libraries
The Developing Custom JSP Tag Libraries course describes how to
design and develop custom tag libraries. Custom tags are used to
encapsulate complex dynamic actions in JSP pages. Students will
see how to develop tag handler classes and configure these classes
into a tag library descriptor file.
Course length: 2 hours

Course ID:
WJ-3144-90 |
Subscription Duration:
90 days
| Price: $US
60.00 |
|
|
Languages Offered |
 |
This course is currently available in English only.
|
Who Can Benefit |
 |
Students who can benefit from this course are Web Component Developers.
|
Prerequisites |
 |
To succeed fully in this course, students should be able to: Create and use Java technology classes, packages, interfaces, exceptions, and collectionsCompile and execute a Java technology programRead and use an object-oriented APIIntegrate with existing Java technology code (for example, when code
developed by another team is needed)Model the "what" and "how" of a software system using some modeling language, such as Unified Modelling Language (UML)Understand the component/container software frameworkUnderstand what an n-tiered architecture consists of (presentation logic, business logic, data store)Understand why separation of presentation logic and business logic is a good idea
|
Skills Gained |
 |
Upon completion of this course, you should be able to: Understand how to design and develop a custom tag libraryCreate a tag handler class for an empty custom tag by
implementing the doStartTag methodConfigure the tag library descriptor file to declare a custom
tag, the tag handler class, and the attributes of the custom tagDevelop a tag handler class that accesses the custom tag attributesDevelop a tag handler class that conditionally includes the body
of the custom tagUnderstand when to use the SKIP_BODY and EVAL_BODY_INCLUDE values
in the doStartTag methodDevelop a tag handler class that iteratively includes the body
of the custom tagUnderstand when to use the SKIP_BODY and EVAL_BODY_AGAIN values
in the doAfterBody methodDevelop a tag handler class that accesses the JSP page attributes
|
Related Courses |
 |
Before: WJB-250: The Java Programming Language Bundle
|
Course Content |
 |
Module 1: Developing a Simple Custom Tag
|
Describe the structure and execution of a custom tag in a JSP pageDevelop the tag handler classWrite the tag library description for this tag in the descriptor file
Module 2: Developing Advanced Custom Tags
|
Develop a custom tag to include the bodyDevelop a custom tag to conditionalize the bodyDevelop a custom tag to iterate over the bodyDevelop a custom tag to manipulate the body |
|