JavaServer Pages [NOOK Book]

Overview

JavaServer Pages (JSP) has built a huge following since the release of JSP 1.0 in 1999, providing Enterprise Java developers with a flexible tool for the development of dynamic web sites and web applications. While new point releases over the years, along with the introduction of the JSP Standard Tag Library (JSTL), have incrementally improved the rough areas of the first version of the JSP specification, JSP 2.0 takes this technology to new heights.JavaServer Pages, Third Edition, is completely revised and ...

See more details below
JavaServer Pages

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview

JavaServer Pages (JSP) has built a huge following since the release of JSP 1.0 in 1999, providing Enterprise Java developers with a flexible tool for the development of dynamic web sites and web applications. While new point releases over the years, along with the introduction of the JSP Standard Tag Library (JSTL), have incrementally improved the rough areas of the first version of the JSP specification, JSP 2.0 takes this technology to new heights.JavaServer Pages, Third Edition, is completely revised and updated to cover the JSP 2.0 and JSTL 1.1 specifications. It includes detailed coverage of the Expression Language (EL) incorporated into JSP 2.0, the JSTL 1.1 tag libraries and the new function library, the new tag file format that enables custom tag library development without Java code, the simplified Java tag library API, improvements in the JSP XML syntax, and more. Further, it details setup of the Apache Tomcat server, JSP and JSTL syntax and features, error handling and debugging, authentication and personalization, database access, XML processing, and internationalization.This book 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 as a part of an enterprise application. If you're in the first group, you'll learn from the practical web application examples in the second part of the book. If you're in the latter group, you'll appreciate the detailed coverage of advanced topics in the third part, such as how to integrate servlets and JavaBeans components with JSP using the popular Apache Struts MVC framework, and how to develop custom tag libraries using the JSP API, with realistic examples that you can use as a springboard for your own libraries."Hans Bergsten, a JSP expert group veteran and one of our most active contributors, has thoroughly and accurately captured the new features of JSP 2.0 and JSTL 1.1 in a way that is well-organized and easy to understand. With excellent, to-the-point examples, this book is a 'must have' for any serious JSP 2.0 developer."--Mark Roth, JSP 2.0 Specification Lead, Sun Microsystems, Inc.Hans Bergsten is the founder of Gefion Software, a company focused on Java services and products based on J2EE technologies. Hans has been an active participant in the working groups for both the servlet and JSP specifications since their inception and contributes to other related JCP specifications, such as JSP Standard Tag Library (JSTL) and JavaServer Faces (JSF), and, as one of the initial members of the Apache Jakarta Project Management Committee, helped develop the Apache Tomcat reference implementation for the servlet and JSP specifications.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
This is JSP 2.0 for the real world: all the JSP you’re likely to need.

Hans Bergsten introduces each JSP feature carefully and accurately: everything from retrieving user input to accessing JavaBeans components. You’ll learn good JSP practices (for instance, how to promote reusability). And you’ll find plenty of examples: database integration, authentication, personalization, caching, you name it.

Many examples -- such as XML processing -- use JSTL. Often, these replace custom components presented in earlier editions. That’s no coincidence: Bergsten’s examples helped shape the standard.

Since not everything’s in JSTL, Bergsten explains custom component development. He wraps up with integrating JSP and other Java technologies, notably Struts. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2003 and Upgrading & Fixing Networks for Dummies, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9781449378974
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 12/11/2003
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 3
  • Pages: 768
  • Sales rank: 791,214
  • File size: 6 MB

Meet the Author

Hans Bergsten is the founder of Gefion Software, a company focused on Java services and products based on the J2EE technlogies. Hans has been an active participant in the working groups for both the servlet and JSP specifications from the time they were formed. He also contributes to other related JCP specifications, such as JSP Standard Tag Libraries (JSTL), and helped get the development of the Apache Tomcat reference implementation for servlet and JSP started as one of the initial members of the Apache Jakarta Project Management Committee.

Read More Show Less

Table of Contents

Preface
Pt. I JSP Application Basics
1 Introducing JavaServer Pages 3
2 HTTP and Servlet Basics 11
3 JSP Overview 23
4 Setting Up the JSP Environment 32
Pt. II JSP Application Development
5 Generating Dynamic Content 45
6 Using JavaBeans Components in JSP Pages 58
7 Using Custom Tag Libraries and the JSP Standard Tag Library 68
8 Processing Input and Output 80
9 Error Handling and Debugging 106
10 Sharing Data Between JSP Pages, Requests, and Users 126
11 Developing Custom Tag Libraries as Tag Files 154
12 Accessing a Database 171
13 Authentication and Personalization 207
14 Internationalization 234
15 Working with XML Data 268
16 Using Scripting Elements 290
17 Bits and Pieces 313
Pt. III JSP in J2EE and JSP Component Development
18 Web Application Models 353
19 Combining JSP and Servlets 366
20 Developing JavaBeans Components for JSP 403
21 Developing Custom Tag Libraries Using Java 421
22 Advanced Custom Tag Library Features 473
23 Integrating Custom Code with JSTL 500
24 Database Access Strategies 517
Pt. IV Appendixes
A JSP Elements Reference 547
B JSTL Actions and API Reference 571
C JSP Expression Language Reference 622
D JSP API Reference 628
E Book Example Custom Actions and API Reference 686
F Web Application Structure and Development Descriptor Reference 700
Index 723
Read More Show Less

Customer Reviews

Average Rating 4.5
( 4 )
Rating Distribution

5 Star

(2)

4 Star

(2)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 4 Customer Reviews
  • Anonymous

    Posted December 25, 2003

    Separate java and HTML

    Very recently (late 2003), Java Server Pages underwent a major official upgrade to Version 2. In part, this was driven by success. The sheer popularity of Version 1, which dates from 1997, also let to many ideas for improvements. Bergsten devotes the bulk of this book to explaining these. Some of you who coded with Version 1 and used earlier texts may notice the heft of this, compared to those. Look, there is one immediate reason, as explained by Bergsten, why Version 2 is better than Version 1, and why you should migrate, presumably with the help of this book! If you wrote JSPs, like me, then your java code is generously littered with out.println(), wherein are strings with HTML tags. We can all appreciate Version 1 for its power and ingenuity in making dynamic web pages. But that interleaving of java and embedded HTML looks kludgy. (It is!) But aside from aesthetics, it scales badly with the size of the website you are supporting. And it is hard for you, the developer, and the HTML page designer to interact. The key innovation is how Version 2 lets you separate the java and HTML far more cleanly. Not a complete refactoring, perhaps. But close enough to justify you investing some time in moving to it. The payoff should be considerable. How does Version 2 do this? Well, you should read the book to find out.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 22, 2002

    Good Reference for Neophites

    I had to learn JSP quickly for a project I am working on, and this book was extremely helpful. It gives step-by-step instructions on how to get started. There are also some good examples. It's an excellent reference for beginners!

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 28, 2001

    The absolute BEST JSP book on the market!!

    I have gone through multiple books on JavaServer pages, and my co-workers and I agree that this is the best book out there for JSP. The book is very thorough, yet very easy-to-understand. The book contains contains countless, easy-to-follow examples with detailed text explaining what each one does. And unlike some of the previous books that I have read, the examples in this one actually work!! The index is one of the best I have ever seen and is extremely useful. I will look forward to more books by this author.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 9, 2001

    A must-have for JSP developers

    This book should be on the book shelf of anyone doing development with Java Server pages. It is clear and informative, starting at the basics and moving all the way up through MVC patterns and JDBC pooling. It is also the best reference that I have found for quick access to all of the great JSP features.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 4 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)