书目名称 | Pro J2EE 1.4: From Professional to Expert |
编辑 | Sue Spielman,Meeraj Kunnumpurath,James L. Weaver |
视频video | http://file.papertrans.cn/757/756437/756437.mp4 |
图书封面 |  |
描述 | 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. Sim |
出版日期 | Book 2004 |
关键词 | J2EE; JSP; Java; Java EE; JavaServer Pages; Processing; Servlets; Web; XML; container; deployment; web services |
版次 | 1 |
doi | https://doi.org/10.1007/978-1-4302-0756-6 |
isbn_softcover | 978-1-59059-340-0 |
isbn_ebook | 978-1-4302-0756-6 |
copyright | Sue Spielman, Meeraj Kunnumpurath, Neil Ellis, and James L. Weaver 2004 |