Search and Find

Book Title

Author/Publisher

Table of Contents

Show eBooks for my device only:

 

JSTL - Practical Guide for JSP Programmers

JSTL - Practical Guide for JSP Programmers

of: Sue Spielman

Elsevier Trade Monographs, 2003

ISBN: 9780080495965 , 229 Pages

Format: PDF

Copy protection: DRM

Windows PC,Mac OSX Apple iPad, Android Tablet PC's

Price: 26,95 EUR



More of the content

JSTL - Practical Guide for JSP Programmers


 

Cover

1

Contents

10

Preface

18

Chapter 1. Introduction

22

1.1 What Exactly Is the JSTL?

22

1.2 Why a JSP Standard Tag Library?

23

1.3 Why Now?

23

1.4 Why You Really Want to Use the JSTL

24

1.5 The Need for Encapsulation

24

1.6 Functional Overview

24

1.7 JSTL Tag Libraries

25

1.8 Getting Ready to Use the JSTL

27

1.9 The Road to the JSTL

27

1.10 Servlets to the Rescue

29

1.11 Hello My Friend Servlet

30

1.12 JavaServer Pages

33

1.13 When a JSP, When a Servlet?

35

1.14 Evolving JSP

35

1.15 Custom Actions in Action

36

1.16 The Power of Tag Libraries

40

1.17 Making Life Easier, JSTL in Action

41

Chapter 2. JSTL Basics

44

2.1 Environment Setup

44

2.2 Using the Book Examples

45

2.3 JSP Scopes

46

2.4 JSTL Scoped Variables

48

2.5 Dynamic and Static Attributes

50

2.6 Handling Errors and Exceptions

50

2.7 Action Body Content

52

2.8 Configuration Settings

53

2.9 The Config Class

54

2.10 Summary

55

Chapter 3. Using the Expression Language

56

3.1 Implicit Objects Available in the EL

57

3.2 Accessing Data Structures

58

3.3 EL Operators

59

3.4 Automatic Type Conversion

61

3.5 Default Values

62

3.6 Summary

63

Chapter 4. Working with the Core Actions

64

4.1 Writing Output to the JspWriter

64

4.2 Setting Variables

66

4.3 Removing Variables

70

4.4 Using

71

4.5 Decisions, Decisions, Decisions„Conditional Actions

73

4.6 Handling Iterators

77

4.7 URL-Related Actions

92

4.8 Untangling the Web We Weave

97

4.9 Redirecting

104

4.10 Summary

105

Chapter 5. Working with the XML Actions

106

5.1 Overview of Supporting Technologies

106

5.2 eXtensible Markup Language (XML)

107

5.3 eXtenstible Stylesheet Language (XSL)

109

5.4 XML Path Language (XPath)

111

5.5 Variable Mappings

112

5.6 Using the Select Attribute

114

5.7 Accessing Resources

114

5.8 extensible Stylesheet Language Transformation (XSLT)

116

5.9 Parsing XML Documents

117

5.10 Using and

121

5.11 and in Action

122

5.12 Using XML Documents to Determine Flow Control

123

5.13 Going Loopy with

127

5.14 XML Transformation Actions

131

5.15 Transforming Content

132

5.16 Providing Parameters to Transformations

134

5.17 Summary

136

Chapter 6. Working with the Internationalization and Formatting Actions

138

6.1 Locales

139

6.2 Why be Language Independent?

140

6.3 Localizing an Application Using Resource Bundles

140

6.4 Types of I18N Architectures

141

6.5 First, the Action

142

6.6 Localization Context

143

6.7 Localization Context Sample

144

6.8 Preferred Locales

144

6.9 Formatting Locales

145

6.10 How Resource Bundles are Decided

146

6.11 Resource Bundle Lookup Samples

150

6.12 Using the LocaleSupport Class

150

6.13 Setting and Using Locales

151

6.14 Using Messages and Resource Bundles

154

6.15 Setting the Resource Bundle for

157

6.16 Adding a parameter to

159

6.17 Formatting Actions

160

6.18 Setting and Using Time Zones

162

6.19 Working with Timestamps

164

6.20 Formatting and Parsing Timestamps

164

6.21 Using and Parsing Timestamps

169

6.22 Working with Numbers

171

6.23 Encoding the Client Response

179

6.24 Summary

181

Chapter 7. SQL Tag Library Using the SQL Actions

182

7.1 The Available Actions

183

7.2 Working with the Data Source

184

7.3 Configuring a Data Source

185

7.4 Using a Data Source

186

7.5 Maxrows Configuration Setting

186

7.6 Configuring and Using a Data Source

187

7.7 How to Modify Data

188

7.8 Interfaces and Classes

191

7.9 Finding What You Need with

193

7.10 Passing Parameters to SQL Statements

195

7.11 Working with Result Sets

198

7.12 Dealing with Transactions

202

7.13 Action

203

7.14 How to Use

203

7.15 Summary

206

7.16 Conclusion

207

Chapter 8. JSTL Quick Reference

208

8.1 Expression Language Syntax

208

8.2 Configuration Settings

217

8.3 Core Tag Library

219

8.4 XML Tag Library

227

8.5 SQL Tag Library

232

8.6 I18N Tag Library

236

Index

246