Book description
Since being introduced in 1999, JavaServer Pages™ (JSP) have become a popular and important technology for building dynamic, interactive, content-rich Web sites. JavaServer Pages™, Second Edition is a hands-on guide to working with JSP, offering the easiest and most efficient ways for non-programmers and Web designers to create sophisticated, dynamic sites. Programmers can also utilize this book to independently create new dynamic components. This second edition covers the latest release of the JSP specification (2.0), many standard extensions to JSPs, and a number of best practices that have been developed since the publication of the first edition.
This book also offers overviews of some related technologies, including:
JavaBeans™
Servlets
JavaServer Pages Standard Tag Library (JSTL)
Jakarta Struts
Databases
JavaServer Pages™, Second Edition contains all the information necessary to start writing JSP--for anyone who has a computer and can write HTML. It includes practical, Java-based techniques for maintaining and personalizing information-rich Web sites, as well as examples based on Jakarta Struts, the new JSP toolkit. Recent updates provide a number of new tools and techniques that will allow readers to get the most productivity from JSPs, with the least amount of effort.
Also included is a CD-ROM containing everything you need to get started. The tools, which are free, open-source, stable, secure, and run on pretty much every platform, are powerful enough to serve even a mid-sized Web site without problems. Contents of the CD-ROM include: Tomcat™, the open-source reference implementation of the latest JSP and Servlet specification; useful libraries such as the JavaServer Pages Standard Tag Library (JSTL) and Struts; Hsqldb, a self-contained, 100 percent pure Java database; all the code examples from the book; and a number of Java beans, providing ready-to-use components for many of the tasks frequently needed on a dynamic Web page.
0321150791B06042003
Table of contents
- Copyright
- Preface
- Acknowledgements
- 1. Introduction
- 2. Simple JSPs
-
3. Using Beans
- 3.1. Splitting Big Tasks into Manageable Pieces
- 3.2. Defining Beans
- 3.3. JavaBean Tags
- 3.4. Making Data Available Throughout an Application
- 3.5. Special Actions When Beans Are Created
- 3.6. Making Beans Last Forever
- 3.7. Java News Today and Beans
- 3.8. Future Directions
- 3.9. Summary and Conclusions
- 3.10. Tags Learned in This Chapter
-
4. The Standard Tag Library
- 4.1. Tag Libraries
- 4.2. Tags with Bodies
- 4.3. Dynamic Attributes in Tags
- 4.4. Displaying Expressions
- 4.5. Formatting Output
- 4.6. Compound Data in the Expression Language
- 4.7. Browser Detection
- 4.8. Combining Tags
- 4.9. Selecting among Multiple Choices
- 4.10. Summary and Conclusions
- 4.11. Tags Learned in this Chapter
- 5. Java News Today: Part I
- 6. Databases
- 7. Java News Today: Part 2
- 8. Working with XML
-
9. A Small Cup of Java
- 9.1. Expressions
- 9.2. Types
- 9.3. Storing Values
- 9.4. Method Calls
- 9.5. Conditionally Evaluating Code
- 9.6. Evaluating the Same Code Multiple Times
- 9.7. Grouping Code
- 9.8. Handling Errors
- 9.9. Modeling a Problem with Objects
- 9.10. Objects in Java
- 9.11. Building Objects from Classes
- 9.12. Sometimes Nothing Is Something
- 9.13. Building Classes from Other Classes
- 9.14. Interfaces
- 9.15. Creating Groups of Classes and Interfaces
- 9.16. Using Java in JSPs
- 9.17. Database Access from Java
- 9.18. Summary and Conclusions
- 10. Writing Beans
- 11. Servlets
- 12. The Controller
- 13. Creating New Tag Libraries
- 14. Advanced Topics
- A. Summary of Tags
- B. Configuring a Web Application
Product information
- Title: JavaServer Pages™, Second Edition
- Author(s):
- Release date: August 2003
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780321150790
You might also like
book
Advanced JavaServer Pages™
Design and implement flexible, extensible, and maintainable applications with servlets and JSP technology Master powerful authentication …
book
Microsoft® SharePoint® Designer 2010 Unleashed
Microsoft has transformed SharePoint Designer into a free download: now, here's the first comprehensive guide to …
book
Special Edition Using Java™ Server Pages and Servlets
Special Edition Using JSP and Servlets starts by detailing the evolution of web servers that led …
book
Problem Determination for WebSphere for z/OS
IBM WebSphere Application Server for z/OS V6 is a complex product made up of many components. …