Beginning JavaServer Pages

Overview

  • JSP is one of the core technologies for server-side Java applications and the 2.0 release, which this book covers in detail, makes JSP an even more powerful tool
  • Walks Java programmers and Web developers through JSP fundamentals, including JSP syntax and directives, JSP Expression Language, JSP Tag libraries, JSTL, and techniques for testing and debugging
  • Shows how to use JSP in real-world Web applications along with open source frameworks ...
See more details below
Other sellers (Paperback)
  • All (18) from $1.99   
  • New (7) from $6.47   
  • Used (11) from $1.99   
Sending request ...

Overview

  • JSP is one of the core technologies for server-side Java applications and the 2.0 release, which this book covers in detail, makes JSP an even more powerful tool
  • Walks Java programmers and Web developers through JSP fundamentals, including JSP syntax and directives, JSP Expression Language, JSP Tag libraries, JSTL, and techniques for testing and debugging
  • Shows how to use JSP in real-world Web applications along with open source frameworks such as Struts, WebWork, and Turbine, software design methodologies, and developer tools like Ant, jUnit, and CVS, as well as popular IDEs (integrated development environmnents)
  • Each chapter has an exercise section with solutions on the companion Web site
Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
These days, virtually all Java and web developers need some JSP skills. But JSP 2.0’s added power makes it more complex. This book “re-flattens” the learning curve, helping you get productive fast, even if you have only light programming experience.

The authors rely constantly on hands-on examples. By Chapter 2, you’re creating dynamic pages to present data. Soon, you’re creating simple web storefronts, then using JSP and CSS to control look and feel. You’ll get comfortable with JSTL, directives, and standard actions; perform error handling; build custom tags; even internationalize content.

Next, you’ll turn to using JSP to drive modern web applications. The authors introduce MVC, then show how to use JSP in the context of frameworks like Spring and Struts. There’s detailed coverage of security, database access, even JSF. Start out a beginner, finish as an expert. Bill Camarda, from the May 2005 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9780764574856
  • Publisher: Wiley
  • Publication date: 1/10/2005
  • Series: Programmer to Programmer
  • Edition number: 1
  • Pages: 1296
  • Product dimensions: 7.48 (w) x 9.22 (h) x 2.42 (d)

Meet the Author

Vivek Chopra has over ten years of experience as a software developer, architect, and team lead, with extensive experience with Web services, J2EE, and middleware technologies. He has worked and consulted at a number of Silicon Valley companies and startups and has (pending) patents on Web services. Vivek actively writes about technology and has coauthored half a dozen books on topics such as opensource software, Java, XML, and Web services. He contributes to open source, too, and has developed parts of the uddi4j library, an open-source Java API for UDDI.

Sing Li, first bit by the microcomputer bug in 1978, has grown up with the microprocessor age. His first personal computer was a do-it-yourself Netronics COSMIC ELF computer with 256 bytes of memory, mail-ordered from the back pages of Popular Electronics magazine. Currently, Sing is a consultant, system designer, open-source software contributor, and freelance writer. He writes for several popular technical journals and e-zines and is the creator of the Internet Global Phone, one of the very first Internet phones available. He has authored and coauthored numerous books across diverse technical topics, including JSP, Tomcat, servlets, XML, Jini, and JXTA.

Rupert Jones is a Technical Lead for J2EE projects at Internet Business Systems. Over the past six years, Rupert has provided software development and consulting services for blue-chip companies, both in Australia and internationally. He lives and works in Melbourne, Australia. Rupert can be contacted at rup@rupertjones.com.

Jon Eaves has been developing software in a variety of languages and domains for over 15 years. He is currently employed by ThoughtWorks, developing large-scale enterprise systems using J2EE. When he can find spare time, he develops J2ME/MIDP applications and works on the BouncyCastle Crypto APIs (www.bouncycastle.org). Jon can be reached at jon@eaves.org.

John T. Bell has more than 20 years of software development experience and currently serves as the lead software architect for the Web site of a major hospitality company based in Bethesda, Maryland. He is also an adjunct professor, teaching server-side Java technologies for the Center for Applied Information Technology at Towson State University. He has a master’s degree in Computer Systems Management and a bachelor’s degree in Electrical Engineering, both from the University of Maryland. This is Mr. Bell’s third contribution to a Wrox title. He is also the author of The J2EE Open Source Toolkit.

Read More Show Less

Table of Contents

About the Authors v

Acknowledgments vii

Introduction xxv

The Right Way to Do Web Development xxv

Approach xxvi

How This Book Is Structured xxvi

Conventions xxix

Source Code xxx

Errata xxx

p2p.wrox.com xxx

Part I: JSP Fundamentals 1

Chapter 1: Getting Started with JavaServer Pages 3

Chapter 2: JSP Basics 1: Dynamic Page Creation for Data Presentation 31

Chapter 3: JSP Basics 2: Generalized Templating and Server Scripting 73

Chapter 4: CSS, JavaScript, VBScript, and JSP 117

Chapter 5: JSP and EL 145

Chapter 6: JSP Tag Libraries and JSTL 179

Chapter 7: JSP Directives 213

Chapter 8: JSP Standard Actions 241

Chapter 9: JSP and JavaBeans 275

Chapter 10: Error Handling 303

Chapter 11: Building Your Own Custom JSP Tag Library 329

Chapter 12: Advanced Dynamic Web Content Generation 361

Chapter 13: Internationalization and Localized Content 395

Chapter 14: JSP Debugging Techniques 435

Part II: JSP and Modern Web Server Software Development 481

Chapter 15: JSPs and Servlets 483

Chapter 16: The Role of JSP in the Wider Context: Web Applications 511

Chapter 17: Model View Controller 533

Chapter 18: Web Frameworks 549

Chapter 19: Struts Framework 591

Chapter 20: Layout Management with Tiles 643

Chapter 21: JavaServer Faces 681

Chapter 22: JSP in J2EE 721

Chapter 23: Access to Databases 747

Chapter 24: Security 825

Chapter 25: Performance 861

Chapter 26: Best Practices and Tools 885

Part III: Spreading Your New Wings: Applying JSP in the Real World 923

Chapter 27: JSP Project I: Personalized Portal 925

Chapter 28: JSP Project II: Shopping Cart Application 983

Part IV: Appendixes 1057

Appendix A: JSP Syntax Reference 1059

Appendix B: JSP Expression Language Reference 1077

Appendix C: JSTL Reference 1089

Appendix D: Exercise Solutions 1123

Index 1213

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

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