JSTL in Action

Shawn Bayern

  • 出版商: Manning
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 1930110529
  • ISBN-13: 9781930110526
  • 相關分類: C++ 程式語言
  • 已過版

買這商品的人也買了...

相關主題

商品描述

JSTL is an important simplification of the Java web platform. With JSTL, page authors can now write dynamic pages using standard HTML-like tags and an easy-to-learn expression language. JSTL is a standard from the Java Community Process, and its expression language will become part of JSP 2.0.

JSTL in Action shows you how to write rich, dynamic web pages without programming. From simple loops to tricky XML processing, every feature of JSTL is covered and exercised in numerous useful examples. Whether you are a novice page author or an experienced Java programmer, this book shows you easy ways to create powerful web sites.

To help readers who don't already have a JSP container run the examples in the book, there's a free companion download here. This bundle contains a ready-to-run JSP container, a JSTL implementation, and all the book's examples.

What's Inside:

  • Mixing HTML tags and JSTL
  • JSTL's expression language
  • Working with loops and conditions
  • Painless XML processing
  • Accessing databases
  • Text formatting
  • Internationalization
  • JSTL configuration and performance
  • Many examples including
    • How to register and authenticate users
    • Running an online survey
    • How to build a discussion forum
    • Designing a web portal

Contents

Part 1  Background   1

1  Dynamic web sites   3
2  Foundation: XML and JSP   15
 
Part 2  Learning JSTL   41

3  The expression language   43
4  Controlling flow with conditions   77
5  Controlling flow with loops   95
6  Importing text   115
7  Selecting XML fragments   139
8  Working with XML fragments   153
9  Database-driven pages   181
10  Formatting and internationalization   215
Part 3  JSTL in action   249

11  Common tasks   251
12  Dynamic features for web sites   279
13  Case study in building a web site   301

 
Part 4  JSTL for programmers   327

14  Control and performance   329
15  Using JSTL to develop custom tags   361
A  JSTL reference   389
B  JSTL API (for developers)   409
C  Database tags and SQL   421
D  References and resources   433
index 439