×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

JavaServer Pages
     

JavaServer Pages

4.5 4
by Hans Bergsten
 

See All Formats & Editions

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

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.

Editorial Reviews

bn.com
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.

Product Details

ISBN-13:
9780596005634
Publisher:
O'Reilly Media, Incorporated
Publication date:
01/28/2004
Edition description:
Third Edition
Pages:
768
Product dimensions:
7.04(w) x 9.18(h) x 1.36(d)

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.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

JavaServer Pages 4.5 out of 5 based on 0 ratings. 4 reviews.
Guest More than 1 year ago
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.
Guest More than 1 year ago
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!
Guest More than 1 year ago
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.
Guest More than 1 year ago
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.