Sun Microsystems, Inc.
spacer spacer
spacer   Sun Educational Services  
spacer
black dot
  black fade
spacer
  Course Catalog
logo

Developing Custom JSP[tm] Tag Libraries

( WJ-3144-90 )


     Course DescriptionBack To Top

The Developing Custom JSP[tm] Tag Libraries course describes how to design and develop custom tag libraries. Custom tags are used to encapsulate complex dynamic actions in JSP[tm] 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 details
        id:      WJ-3144-90
        subscription duration:  90 days
        list price:  $  60.00


    View browser requirements at the Sun Web Learning Center Support page, under FAQs.

     
         Languages Offered Back To Top

    This course is currently available in English only.

     
         Who Can Benefit Back To Top

    Students who can benefit from this course are Web Component Developers.

     
         Prerequisites Back To Top

    To succeed fully in this course, students should be able to:

  • Create and use Java technology classes, packages, interfaces, exceptions, and collections
  • Compile and execute a Java technology program
  • Read and use an object-oriented API
  • Integrate 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 framework
  • Understand 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 Back To Top

    Upon completion of this course, you should be able to:

  • Understand how to design and develop a custom tag library
  • Create a tag handler class for an empty custom tag by implementing the doStartTag method
  • Configure the tag library descriptor file to declare a custom tag, the tag handler class, and the attributes of the custom tag
  • Develop a tag handler class that accesses the custom tag attributes
  • Develop a tag handler class that conditionally includes the body of the custom tag
  • Understand when to use the SKIP_BODY and EVAL_BODY_INCLUDE values in the doStartTag method
  • Develop a tag handler class that iteratively includes the body of the custom tag
  • Understand when to use the SKIP_BODY and EVAL_BODY_AGAIN values in the doAfterBody method
  • Develop a tag handler class that accesses the JSP page attributes
  •  
         Related Courses Back To Top

  • Before: WJB-250: The Java[tm] Programming Language Bundle
  •  
         Course Content Back To Top



    Module 1: Developing a Simple Custom Tag Back To Top

  • Describe the structure and execution of a custom tag in a JSP page
  • Develop the tag handler class
  • Write the tag library description for this tag in the descriptor file


  • Module 2: Developing Advanced Custom Tags Back To Top

  • Develop a custom tag to include the body
  • Develop a custom tag to conditionalize the body
  • Develop a custom tag to iterate over the body
  • Develop a custom tag to manipulate the body

  • Terms of UsePrivacy PolicyFeedback Copyright 1994-2002 Sun Microsystems, Inc.