Beginning JSP 2: From Novice to Professional

Overview

Let Beginning JSP 2 be your guide as you begin using JSP. This comprehensive guide starts by steering you through your first JSP application. It reviews HTML, and provides you with a useful overview of JSP. You’ll then be ready to start learning one of the core techniques in JSP: pulling data from a database and working with that data.

When you’ve mastered this technique, you’ll be ready to branch out powerfully into other JSP topics: variables, scope, flow control, and code ...

See more details below
Other sellers (Paperback)
  • All (15) from $1.99   
  • New (7) from $5.94   
  • Used (8) from $1.99   
Sending request ...

Overview

Let Beginning JSP 2 be your guide as you begin using JSP. This comprehensive guide starts by steering you through your first JSP application. It reviews HTML, and provides you with a useful overview of JSP. You’ll then be ready to start learning one of the core techniques in JSP: pulling data from a database and working with that data.

When you’ve mastered this technique, you’ll be ready to branch out powerfully into other JSP topics: variables, scope, flow control, and code reuse for productive time management. Finally, the book shows you how you can use JSP with XML and gives you a taste of some advanced topics, including using Struts and the Model View Controller.

This book's step-by-step examples explain the techniques behind the code. The authors include realistic scenarios wherever possible to build your knowledge and confidence in JSP. After reading this book, you’ll have the knowledge and skills to enter the web development and Java development industries. All you need to begin this journey is a basic understanding of HTML and Java.

Read More Show Less

Product Details

  • ISBN-13: 9781590593394
  • Publisher: Apress
  • Publication date: 5/10/2004
  • Edition number: 1
  • Pages: 480
  • Product dimensions: 0.97 (w) x 7.50 (h) x 9.25 (d)

Meet the Author

Sathya Narayana Panduranga is a software design engineer living in the Bangalore, the software capital of India. He has expertise in Microsoft and Java technologies, and has worked in the domains of the Internet, telecom, and convergence. His favorite areas of interest are distributed and component-based application architectures, and object-oriented analysis and design. Contributing to a range of technical articles and books is a hobby that gives him the immense satisfaction of being able to share his knowledge.

Vikram Goyal is a serious Java developer with over eight years of experience. Vikram is excited about J2ME and its prospects. He is an experienced writer and has published several well-known books in the industry. Vikram coauthored Beginning JSP 2, Second Edition with Apress, as well other titles from other well-known publishers.

Peter den Haan is a senior systems engineer at Objectivity Ltd., a U.K.-based systems integration company. He began to program at the age of 13 on a Radio Shack TRS-80 model with 16KB of memory, and he has since progressed to J2EE. Peter is a systems architect and lead developer for Internet and intranet projects for clients ranging from the U.K, Football Association Premier League to Shell Finance. Peter is a Sun Certified Java 2 Developer, former JavaRanch bartender, and self-confessed geek. He holds a doctorate in theoretical physics and plays bass in his local worship band.

Krishnaraj Perrumal is founder and director of Adarsh Softech. He has successfully developed and managed a number of software projects and e-projects, and his programming experience spans 15 years. He regularly gives presentations on Java technology, XML, information systems security, and audit. He is a Sun Certified Java Programmer, a Certified Novell Netware Engineer, and a Certified Information Systems Auditor.He spends most of his time providing consultancy and solutions for computer security, in addition to web development. IT constitutes both his profession and his hobby.

Lance Lavandowska has been working with JavaServer Pages since 1998. He has contributed to several Apache Jakarta projects, the Castor project, and the Roller weblogger project. Lance has also served as a technical reviewer on several JSP books and is a coauthor of Professional JSP Site Design.

Read More Show Less

Table of Contents

About the Authors ix
About the Editor xi
About the Technical Reviewer xiii
Introduction xv
Chapter 1 Creating Your First JSP Page 1
Installing the Software 1
Creating Your First Web Application 9
Exploring a Brief History of Java and the Web 13
Summary 21
Chapter 2 Learning How HTML Works 23
Summarizing HTML 23
Creating HTML Forms 40
Using HTML Elements 43
Finding Further Resources 58
Summary 59
Chapter 3 Introducing JSP 61
Understanding the Available Object Scope 61
Understanding JSP Code Types 62
Using the Java Standard Tag Library (JSTL) 74
Processing Forms with the JSTL 79
Summary 85
Chapter 4 Working with Data 87
Introducing Databases 87
Introducing SQL 97
Manipulating the Database 107
Revisiting the Pizza Application 119
Summary 124
Chapter 5 Making Decisions, Decisions 125
Introducing Arrays 126
Comparing Data Values 133
Using Logical Operators 134
Making Decisions 135
Introducing Conditional Statements 136
Understanding Loops and Iteration 153
Introducing Branching Statements 158
Summary 165
Chapter 6 Reusing Code 167
Introducing Code Reuse 168
Planning for Reuse 169
Understanding Mechanisms for Reuse 179
Going Beyond JSP 189
Summary 205
Chapter 7 Performing Time Management 207
Introducing the Date Class 207
Formatting Dates with the JSTL 215
Summary 221
Chapter 8 Using JSP and XML Together 223
Introducing XML 223
Understanding the Structure of XML Data 225
Defining Validity with Schemas 232
Understanding XSL Transformations 249
Summary 254
Chapter 9 Going Behind the Scenes 255
Web Applications and web.xml 256
Introducing the Java Servlet Technology 263
The Servlet Architecture 266
The Servlet Life Cycle 270
Collaboration Between Servlets 276
Getting Initialization Information 284
Filters 288
Summary 297
Chapter 10 Implementing the Model 2 Architecture and Using Struts 299
Architecture of Web Applications 300
The Struts Framework 304
Installing and Configuring Struts 308
The Struts Configuration File 313
Core Struts Components 330
Introducing the Struts Tag Libraries 339
Finishing the View 356
Summary 361
Appendix A JSP Syntax Reference 363
Preliminaries 364
Directives 365
Scripting Elements 369
Standard Actions 371
Tag Libraries 378
Implicit Objects 379
Appendix B JSP Implicit Objects 381
The request Object 382
The response Object 389
The out Object 394
The session Object 397
The application Object 399
The exception Object 402
The config Object 403
The page Object 403
The pageContext Object 403
Appendix C XML Configuration Files 405
Common Elements of web.xml 405
Common Elements of the Tag Library Descriptor 418
Common Elements of the Struts Config File 423
Appendix D Getting More Information 431
Java Development Kit Documentation 431
Tomcat and JSP/Servlet Documentation 436
Other Resources 439
Index 441
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

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 1 Customer Review
  • Anonymous

    Posted September 30, 2004

    Novice? hardly

    This book is the worst if you are a beginner. The book is litered with incomplete examples and if you are a beginner you have no way of knowing were to start. The authors show you snippets of code and assume you know were they go or how they are to be used. Example pg79-80 they start to talk about JSTL(which is introduced in this book far too early and then not enough about it) and give you spippets of code, with no explaination as to were they go, and before finishing they leave you hanging and jump to next subject. The entire book is written this way. Is more of a manual or a quick reference for those already familiar, but diffinatly not for a beginner. I was disapointed and wanted to take the book back for refund.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Review

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