Suchen und Finden
Contents at a Glance
4
Contents
5
About the Authors
16
About the Technical Reviewer
17
Introduction
18
Introducing JavaServer Pages and Tomcat
20
What Is JSP?
21
JSP Application Architectures
28
What Role Does Tomcat Play in All This?
40
Summary
43
JSP Explained
44
Introduction
44
Scripting Elements and Java
45
The Online Bookshop
51
The Eshop Architecture
54
Summary of JSP Features
57
Comments and Escape Characters
66
JSP’s Tag Extension Mechanism
67
JSTL and EL
74
XML Syntax
88
Summary
91
The Web Page
92
Web Pages in General
92
URLs
96
HTML Elements and Tags
99
Cascading Style Sheets
112
JavaScript
119
Summary
138
Databases
139
Database Basics
139
SQL Scripts
142
Java API
144
DB Access in Eshop
149
What About the XML Syntax?
153
Possible Alternatives to MySQL
158
Summary
161
At Face Value (JSF Primer)
162
The JSF Life Cycle
163
JSF Custom Tags
165
Event Handling
166
The JSF Application
167
Using and Creating Converters
178
Using and Creating Validators
181
Creating Custom Components
186
web. xml
195
faces- config. xml
197
Summary
197
Communicating with XML
198
The XML Document
199
Defining Your Own XML Documents
200
XSL
215
SOAP
221
Summary
227
Tomcat 6
228
Tomcat’s Architecture and server. xml
228
Directory Structure
235
Example: Logging the Requests
237
Example: Tomcat on Port 80
240
Example: Creating a Virtual Host
240
Example: HTTPS
241
Application Deployment
243
Summary
245
Eshop
246
The Eshop Application
246
The Eshopx Application
253
The Eshopf Application
261
Summary
267
Installing Everything
268
Java
268
Tomcat
271
MySQL
272
JDBC
273
MySQL Tools
274
Tomcat and MySQL Checks
274
JSTL
277
XPath
279
JavaServer Faces
281
HTML Characters
282
HTML Reference
290
Standard Attributes
290
Document Structure and Information
292
Character Formatting
294
Character Styling
294
Blocks
296
Links
297
Frames
301
Input
308
Lists
314
Images
315
Tables
318
Styles
326
Programming
327
JSP Reference
331
Object Scopes
331
Implicit Objects
331
Standard Directive Elements
348
Standard Action Elements
350
XPath
359
Scripting Elements
361
SQL Quick Reference
362
SQL Terminology
362
Transactions
363
Conventions
365
Statements
365
Reserved SQL Keywords
383
JSF Quick Reference
385
JSF core Tag Library
385
JSF html Tag Library
394
Eclipse
415
How to Install Eclipse
416
Importing the Eshop* Projects into Eclipse
417
The Project Explorer Sidebar
421
Eclipse Errors in Error Reporting
422
Eclipse’s Main Window
424
The Outline Sidebar
426
How to Make a WAR File
426
Abbreviations and Acronyms
428
Index
432
Alle Preise verstehen sich inklusive der gesetzlichen MwSt.