Book description
Since its inception in 1999, Enterprise Java has taken the Java programming community by storm--developers have realized its potential for building distributed applications. Today, JavaServer Pages (JSP) continues to harmonize how web designers and programmers create dynamic web sites. JSP builds on the popular Java servlet technology and makes it easier to develop dynamic web applications--even if you're not a hard-core programmer. JavaServer Pages, 2nd Edition is completely revised and updated to cover the substantial changes in the 1.2 version of the JSP specification, and also includes detailed coverage of the new JSP Standard Tag Library (JSTL)--an eagerly anticipated specification of a set of JSP elements for the tasks needed in most JSP applications. This book starts off by illustrating how JSP capitalizes on the power of Java servlets to create effective, portable web applications. It shows how to get started using the Apache Tomcat server, and provides detailed coverage of JSP syntax and features, error handling and debugging, authentication and personalization, and how to use JSTL for database access, XML processing, and internationalization. JavaServer Pages recognizes the different needs of the two groups of professionals who want to learn JSP: page authors interested in using JSP elements in web pages, and programmers concerned with learning the JSP API and using JSP effectively in an enterprise application. If you're in the latter group, this book also teaches you such advanced topics as integrating servlets and JavaBeans with JSP, using the popular Apache Struts MVC framework to illustrate how it's done. Finally, the author presents how to develop custom tag libraries, using realistic examples that you can use as a springboard for your own JSP libraries.
"This is a complete, comprehensive, and most of all, practical book. The author excels at sharing his vast expertise so web developers can make the most out of JavaServer Pages and related web technologies." --Pierre Delisle, JSP Standard Tag Library Specification Lead
Publisher resources
Table of contents
-
JavaServer Pages, 2nd Edition
- Preface
- I. JSP Application Basics
-
II. JSP Application Development
- 5. Generating Dynamic Content
- 6. Using JavaBeans Components in JSP Pages
- 7. Using Custom Tag Libraries and the JSP Standard Tag Library
- 8. Processing Input and Output
- 9. Error Handling and Debugging
- 10. Sharing Data Between JSP Pages, Requests, and Users
-
11. Accessing a Database
- Accessing a Database from a JSP Page
- Validating Complex Input Without a Bean
- Using Transactions
- Application-Specific Database Actions
- 12. Authentication and Personalization
- 13. Internationalization
- 14. Working with XML Data
- 15. Using Scripting Elements
- 16. Bits and Pieces
-
III. JSP in J2EE and JSP Component Development
- 17. Web Application Models
- 18. Combining JSP and Servlets
- 19. Developing JavaBeans Components for JSP
- 20. Developing Custom Tag Libraries
- 21. Advanced Custom Tag Library Features
- 22. Integrating Custom Code with JSTL
- 23. Database Access Strategies
-
IV. Appendixes
- A. JSP Elements Reference
- B. JSTL Actions and API Reference
- C. JSTL Expression Language Reference
- D. JSP API Reference
- E. Book Example Custom Actions and API Reference
-
F. Web Application Structure and Deployment Descriptor Reference
- Web Application File Structure
-
Web Application Deployment Descriptor
- <icon>, <display-name>, and <description>
- <distributable>
- <context-param>
- <filter>
- <filter-mapping>
- <listener>
- <servlet>
- <servlet-mapping>
- <session-config>
- <mime-mapping>
- <welcome-file-list>
- <error-page>
- <taglib>
- <resource-env-ref>
- <resource-ref>
- <security-constraint>
- <login-config>
- <security-role>
- <env-entry>
- <ejb-ref>
- <ejb-local-ref>
- Example Application Deployment Descriptor
- Creating a WAR File
- Index
- Colophon
Product information
- Title: JavaServer Pages, Second Edition
- Author(s):
- Release date: August 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003173
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
This book is primarily a practical reference book for professional XSLT developers. It assumes no previous …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …