Pure JSP Java Server Pages, java

[ Pobierz całość w formacie PDF ]
Release Team[oR] 2001
[x] java
Pure JSP -- Java Server Pages: A Code-Intensive
Premium Reference
by James Goodwill
ISBN: 0672319020
If your next project is JSP, learn from this book's example
code, then bring the reference to work.
Companion Web Site
Table of Contents
Back Cover
Synopsis
by
Rebecca Rohan
Writing data applications is tricky in any language, but coders committed to
JSP will find a welcome side-kick in
Pure Java Server Pages
. The handy
volume is about two-thirds code and one-third reference. Code near the
beginning serves to illustrate crash courses in servlets, JavaBeans, JDBC,
and JSP concepts, while the rest of the coding section plunges straight into
building a shopping cart, sending JavaMail, and much more. The final third of
the book is a syntax reference for the javax.servlet.jsp,
javax.servlet.jsp.tagext, javax.servlet.package, and javax.servlet.http
packages. A trusty how-to by example and quick reference that you'll want by
your side when you write data applications.
- 2 -
Sams
© 2000, 320 pages
Table of Contents
Pure Java Server Pages
- 4
Part I
Conceptual Reference
Chapter 1
-
JSP Overview: The Components of a JavaServer Page - 8
Chapter 2
-
Java Servlets - 17
Chapter 3
-
JavaBeans and JSP Concepts - 25
Chapter 4
-
JDBC and JSP Concepts - 38
Part II
Techniques Reference
Chapter 5
-
Configuring the JSP Server - 65
Chapter 6
-
Handling JSP Errors - 67
Chapter 7
-
Using the include Directive - 73
Chapter 8
-
JavaServer Pages and Inheritance - 77
Chapter 9
-
Using the JSP's Implicit Objects - 81
Chapter 10
-
Using JSP Standard Actions - 91
Chapter 11
-
JSPs and JavaBean Scope - 105
Chapter 12
-
JSP and HTML Forms - 113
Chapter 13
-
JSP and a Shopping Cart - 120
Chapter 14
-
JSP and a JDBC Connection Pool Bean - 129
Chapter 15
-
JSP and XML - 143
Chapter 16
-
JSP Communication with Servlets - 152
Chapter 17
-
JSP and JavaMail - 160
Part III
Syntax Reference (with UML Diagrams)
Chapter 18
-
The javax.servlet.jsp Package - 168
Chapter 19
-
The javax.servlet.jsp.tagext Package - 183
Chapter 20
-
The javax.servlet Package - 198
Chapter 21
-
The javax.servlet.http Package - 221
List of Figures
- 221
List of Tables
- 242
List of Listings
- 243
Back Cover
Pure JSP -- Java Server Pages
is a premium reference for Java Server Pages
developers. It contains an accelerated introduction to JSP concepts and
implementation, as well as a concise reference to such key topics as
JavaBeans, JDBC, and Servlets.
But the heart of this book is the code. In addition to the usual snippets, there
are many complete, well-commented, commercial-quality programs that
demonstrate key Java Server Pages implementation techniques. Download
any of this code from www.samspublishing.com/product_support/ and you are
well on your way to working with Java Server Pages.
- 3 -
Introduction
- 6
Pure JSP -- Java Server Pages
also includes rich, concise coverage of:
XML
JavaMail
JDBC and Connection Pools
Error Handling
Shopping Carts
Servlets
JSPs and the Model-View-Controller Design Pattern
JSPs and HTML Forms
About the Author
James Goodwill is the Chief Internet Architect and a Principal at Virtuas
Solutions, Inc., located in Denver, Colorado. He has extensive experience in
telecommunications and e-business applications. James is also the author of
Developing Java Servlets
, which provides a through look at Java Servlets.
Over the last several years, he has been focusing his efforts on the design
and development of electronic commerce applications.
Pure Java Server Pages
James Goodwill
Pure Java Server Pages
Copyright © 2000 by Sams Publishing
All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by
any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from
the publisher. No patent liability is assumed with respect to the use of the information contained herein.
Although every precaution has been taken in the preparation of this book, the publisher and author
assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from
the use of the information contained herein.
International Standard Book Number: 0-672-31902-0
Library of Congress Catalog Card Number: 99-68590
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have been
appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term
in this book should not be regarded as affecting the validity of any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible, but no warranty
or fitness is implied. The information provided is on an "as is" basis. The author and the publisher shall
have neither liability nor responsibility to any person or entity with respect to any loss or damages arising
from the information contained in this book.
Publisher
Michael Stephens
Acquisitions
Editor
Steve Anglin
Development
Editor
Tiffany Taylor
Managing
Editor
Matt Purcell
Project
Editor
Paul Schneider
Copy
Editor
Mary Ellen Stephenson
Indexer
Rebecca Salerno
- 4 -
 Proofreaders
Kaylene
Riemen
Linda Morris
Technical
Editor
Al Saganich
Team
Coordinator
Pamalee Nelson
Software
Specialist
Jason Haines
Interior
Designer
Karen Ruggies
Cover
Designer
Aren Howell
Copywriter
Eric Borgert
Layout
Technicians
Stacey
DeRome
Ayanna
Lacey
Heather
Hiatt
Miller
Tim Osborn
Dedication
To Christy, Abby, and our unborn child.
Acknowledgments
I would first like to thank everyone at my company, Virtuas Solutions, Inc., for their support while I was
completing this text. The entire staff contributed by picking up my assignments when my plate was too full.
In particular I would like to thank those whom I worked with on a daily basis including Matthew Filios,
Karen Jackson, Kothai Sengodan, Eric Johnson, and especially Aaron Bandell, for his contribution of the
ShoppingCart bean in
Chapter 13
and his introduction to the JavaMail API in
Chapter 17
.
I would also like to thank the people who helped me create this text. I would like to thank my Development
Editor, Tiffany Taylor, who always had great input and suggestions as the book progressed. I would like to
thank my Copy Editor, Mary Ellen Stephenson, for her insightful comments. I would also like to thank my
Technical Editor, Al Saganich, for his technical suggestions. And last but not least, I would like to thank my
Acquisitions Editor, Steve Anglin, for his continued efforts in getting things taken care of for me along the
way.
Finally, the most important contributions to this book came from my wife, Christy, and our daughter, Abby.
They supported me again throughout this text, my second book, with complete understanding. They
provided time for me to write and support when I felt like I could not write anymore. They are truly the most
important people in my life.
About the Author
James Goodwill
is the Chief Internet Architect and a Principal at Virtuas Solutions, Inc., located in
Denver, Colorado. He has extensive experience in telecommunications and e-business applications.
James is also the author of
Developing Java Servlets
, a Sams Professional title, which provides a
thorough look at Java servlets. Over the last several years he has been focusing his efforts on the design
and development of electronic commerce applications.
Tell Us What You Think!
As the reader of this book,
you
are our most important critic and commentator. We value your opinion and
want to know what we're doing right, what we could do better, what areas you'd like to see us publish in,
and any other words of wisdom you're willing to pass our way.
As a Publisher for Sams, I welcome your comments. You can fax, email, or write me directly to let me
know what you did or didn't like about this book—as well as what we can do to make our books stronger.
Please note that I cannot help you with technical problems related to the topic of this book, and that due to
the high volume of mail I receive, I might not be able to reply to every message.
When you write, please be sure to include this book's title and author as well as your name and phone or
fax number. I will carefully review your comments and share them with the author and editors who worked
on the book.
Fax:
317-581-4770
Email:
java@mcp.com
- 5 -
[ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • tejsza.htw.pl
  •