Advertisement

Pro J2EE 1.4: From Professional to Expert

  • Authors
  • Sue Spielman
  • Meeraj Kunnumpurath
  • Neil Ellis
  • James L. Weaver

Table of contents

  1. Front Matter
    Pages i-xxviii
  2. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 1-19
  3. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 21-71
  4. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 73-130
  5. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 131-194
  6. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 195-257
  7. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 259-348
  8. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 349-413
  9. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 415-457
  10. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 459-493
  11. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 495-516
  12. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 517-569
  13. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 571-620
  14. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 621-653
  15. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 655-694
  16. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 695-762
  17. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 763-840
  18. Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, James L. Weaver
    Pages 841-868
  19. Back Matter
    Pages 869-908

About this book

Introduction

This chapter has covered a lot of ground. After reading it, you should have a thorough understanding of the new features available in the JSP 2.0 specification. We covered what you need to know to write your own custom actions, regardless of which imple­ mentation you choose. Custom actions are useful for creating reusable JSP compo­ nents. New in the JSP 2.0 specification are the notions of tag files and JSP fragments. These are simple ways to create custom actions without having to know how to write Java. They provide a mechanism for page authors to create their own custom tag libraries without the worry of having to write complicated Java code. Using tag files provides a mechanism for eliminating writing TLD files since the JSP container gener­ ates implicit TLD files for them. There's also a flexible mechanism in place for packag­ ing and deploying tag libraries in JSP 2.0. It's also possible to write classic actions using the various interfaces available. These include the following: • Tag • BodyTag • IterationTag Another feature introduced in this chapter was the new JSP 2.0 Simple Tag interface, which has a much simpler life cycle defined than the classic tag interfaces. Simple Tag allows for all of the power of cooperating and iteration tags with less hassle in the coding. Other new features include using dynamic attributes in actions that allow tag handlers to accept attributes that haven't been declared in a TLD.

Keywords

J2EE JSP Java Java EE JavaServer Pages Processing Servlets Web XML container deployment web services

Bibliographic information