JavaServer Pages
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > JavaServer Pages
JavaServer Pages

JavaServer Pages


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

JavaServer pages (JSP) enable Web developers to combine the flexibility of HTML with the power of Java components to capitalize on dynamic features for Web applications. The simplicity of JSP's component-based model, combined with the cross-platform power of Java, creates a Web development environment with enormous potential. Written by a key contributor not only to the JSP specification, but also to the JSP and Servlet reference implementations, the second edition of this comprehensive guide to JavaServer Pages shows you how to embed server-side Java in to Web pages, while also offering full access to other features such as JavaBeans, Enterprise JavaBeans (EJB), and JDBC database access. In addition, this book covers the new Java Standard Tag Library (JSTL) in detail - in fact, most of the examples are updated to use this new technology from Sun Microsystems, Inc. Filled with examples, this 2nd Edition is completely revised and updated to cover the changes in the 1.2 version of the JSP specifications, and includes coverage of the new JSTL Tag libraries-an eagerly anticipated standard set of JSP elements for the tasks needed in most JSP applications, as well as thorough coverage of

Table of Contents:
Preface Part I. JSP Application Basics 1. Introducing JavaServer Pages What Is JavaServer Pages? Why Use JSP? What You Need to Get Started 2. HTTP and Servlet Basics The HTTP Request/Response Model Servlets 3. JSP Overview The Problem with Servlets The Anatomy of a JSP Page JSP Processing JSP Application Design with MVC 4. Setting Up the JSP Environment Installing the Java Software Development Kit Installing the Tomcat Server Testing Tomcat Installing the Book Examples Example Web Application Overview Part II. JSP Application Development 5. Generating Dynamic Content Creating a JSP Page Installing a JSP Page Running a JSP Page Using JSP Directive Elements Using Template Text Using JSP Action Elements 6. Using JavaBeans Components in JSP Pages What Is a Bean? Declaring a Bean in a JSP Page Reading Bean Properties Setting Bean Properties 7. Using Custom Tag Libraries and the JSP Standard Tag Library What Is a Custom Tag Library? Installing a Custom Tag Library Declaring a Custom Tag Library Using Actions from a Tag Library 8. Processing Input and Output Reading Request Parameter Values Validating User Input Formatting HTML Output 9. Error Handling and Debugging Dealing with Syntax Errors Debugging a JSP Application Dealing with Runtime Errors 10. Sharing Data Between JSP Pages, Requests, and Users Passing Control and Data Between Pages Sharing Session and Application Data Online Shopping Memory Usage Considerations 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 Container-Provided Authentication Application-Controlled Authentication Other Security Concerns 13. Internationalization How Java Supports Internationalization and Localization Generating Localized Output A Brief History of Bits Handling Localized Input 14. Working with XML Data Generating an XML Response Transforming XML into HTML Transforming XML into a Device-Dependent Format Processing XML Data 15. Using Scripting Elements Using page Directive Scripting Attributes Implicit JSP Scripting Objects Using Scriptlets Using Expressions Using Declarations Mixing Action Elements and Scripting Elements Dealing with Scripting Syntax Errors 16. Bits And Pieces Buffering Including Page Fragments Mixing Client-Side and Server-Side Code Precompiling JSP Pages Preventing Caching of JSP Pages Writing JSP Pages as XML Documents How URIs Are Interpreted Part III. JSP in J2EE and JSP Component Development 17. Web Application Models The Java 2 Enterprise Edition Model The MVC Design Model Scalability 18. Combining JSP and Servlets Servlets, Filters, and Listeners Picking the Right Component Type for Each Task Initializing Shared Resources Using a Listener Access Control Using a Filter Centralized Request Processing Using a Servlet Using a Common JSP Error Page 19. Developing JavaBeans Components for JSP Beans as JSP Components JSP Bean Examples Unexpected Behavior 20. Developing Custom Tag Libraries Tag Extension Basics Developing a Simple Action Developing an Iterating Action Processing the Action Body Handling Exceptions The Tag-Handler Life Cycle and What It Means to You Creating the Tag Library Descriptor Packaging and Installing a Tag Library 21. Advanced Custom Tag Library Features Developing Cooperating Actions Validating Syntax Using a Listener in a Tag Library Dynamic Attribute Values and Types 22. Integrating Custom Code with JSTL Using the Expression Language in Custom Actions Setting and Using Configuration Variables Integrating Custom Conditional Actions Integrating Custom Iteration Actions Integrating Custom I18N Actions Integrating Custom Database Actions Using JSTL Tag Library Validators 23. Database Access Strategies JDBC Basics Using Connections and Connection Pools Making a Connection Pool Available to Application Components Using a Generic Database Bean Developing Application-Specific Database Components Part 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 scriptor Reference Index

About the Author :
Hans Bergsten is the founder of Gefion Software, as well as author of O'Reilly's JavaServer Pages. As founder at Gefion, his main product is a JSP-based component suite for developing web applications. Hans has been an active participant in the working groups for both the servlet and JSP specifications from the time they were formed, and contributes to the development of the Apache Tomcat reference implementation for both specifications as a member of the Apache Jakarta Project Management Committee.


Best Sellers


Product Details
  • ISBN-13: 9780596003173
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Edition: Revised edition
  • Language: English
  • Weight: 952 gr
  • ISBN-10: 059600317X
  • Publisher Date: 01 Oct 2002
  • Binding: Paperback
  • Height: 233 mm
  • Returnable: N
  • Width: 178 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
JavaServer Pages
O'Reilly Media -
JavaServer Pages
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

JavaServer Pages

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!