Index
Symbols
.CVS file 488
.NET 7
:getProperty 609, 613
:setProperty 588, 609, 612
:useBean 588
<% and %> delimiters 32, 33
in JSP 10
origins in ASP 7
<%= delimeter 36
<%@ include %>. See include directive
<%@ page %> 53
<%@ taglib %> directive 50
<applet> 683, 685, 713
<attribute> 541, 563
<BASE> 393
<body-content> 539, 568
<context-param> 412, 413
<declare> 540, 558
<description> 397, 406, 537, 540, 541, 543
<display-nam> 540
<display-name> 397, 406, 536
<distributable> 397
<EMBED> 685
<error-page> 413
<example> 543
<filter> 406
<filter-class> 407
<filter-mapping> 406, 407
<filter-name> 407
<icon> 397, 406
<init-param> 399, 406, 537
<init-parameter> 633
<input> 446, 447–449
<jsp:declaration> 84, 627, 638
<jsp:directive.include> 80
<jsp:directive.page> 69
<jsp:expression> 88, 627, 638
<jsp:fallback> 685, 689
<jsp:forward> 75, 106, 117, 122, 125, 126, 158–159,
427, 709
<jsp:getProperty> 43, 128, 146–147, 179, 588, 596, 597,
710
<jsp:include> 82, 106, 117, 124, 125, 158–159, 238,
240, 421, 633, 711
<jsp:param> 123, 124, 688, 690, 709, 711, 713
<jsp:params> 689, 713
<jsp:plugin> 73, 128, 685, 712
<jsp:root> 625
<jsp:scriptlet> 91, 627, 638
<jsp:setProperty> 43, 128, 148–149, 154, 157, 179, 542,
596, 613, 714
form support 64
wild card 154, 515
<jsp:text> 626
<jsp:useBean> 43, 128, 142, 145, 151, 192, 584, 589, 597,
609, 612, 613, 710, 715
type attribute 164
<jsp-file> 402
<jsp-version> 536
<large-icon> 397, 536, 540
<listener> 538
<listener-class> 538
<load-on-startup> 399, 403
<mime-mapping> 411
<mut:ifProperty> 44
<name> 539, 542
<name-from-attribute> 541, 558
<name-given> 540, 558
<OBJECT> 685
<option> 448
<param> 688
<param-name> 399, 407, 537
<param-value> 399, 407, 537
<required> 542
<rtexprvalue> 542, 543
<scope> 540, 558
<select> 448
<servlet> 397, 400
<servlet-class> 398
<servlet-mapping> 400, 475
<servlet-name> 398, 400, 407
<session-config> 412
<session-timeout> 412
<short-name> 536
<small-icon> 397, 536, 540
<table> 35
<tag> 535, 538
<tag-class> 539
<taglib> 405, 535, 662
<taglib-location> 405
<taglib-uri> 405
<tei-class> 539, 556, 583, 588
<textarea> 447
<tlib-version> 536
<type> 543
<url-pattern> 400, 407
<validator> 537
<validator-class> 537
<variable> 540, 558, 583
<variable-class> 540, 558, 588
<welcome-file-list> 397
_jspService() 53, 93
A
absolute URLs 393
abstraction 130
and JavaBeans 13
accept header 473
access control 361
accessor methods 168–169, 171
getter method 168, 171
setter method 168, 171
actions 41, 50, 68, 102, 629
custom 48
standard 48
Active Server Pages 7, 36, 47
ActiveX components 7
addCookie() 419, 421
Allaire ColdFusion. See ColdFusion
Apache
Server 24
Server. See also web server
Software Foundation 8, 12, 676
API for XML Processing 12
applets 8, 683, 689
application beans 163
application flow 231–232, 247
application implicit object 114, 123, 385, 467
application initialization parameters 413
application logic 230–231, 265, 287
application scope 120, 163
application server 264, 699
architecture 233
multitier 263
page-centric 233, 270
requirements 268
servlet-centric 233, 265
architecture multitier 266
ASCII text 475
ASP
See also Active Server Pages
similarities to JSP 11
ASP.NET 7
attribute scope 119
attributes 118
authentication 195, 247, 335, 337, 361
AuthenticationFilter 361, 408
autocommit 216, 223
autoFlush attribute 77, 79, 421
availability 269
AWT 683
B
back button 232, 251, 291
BannerBean 494
base name, Java classes 73
BeanInfo 189, 546, 590, 597, 603, 606
beanName attribute 190
beans. See JavaBeans
Blue Cookie Page 423
BodyContent 548, 570, 588, 596, 740
BodyTag 544, 547, 569, 575, 596, 616, 740
BodyTagSupport 544, 562, 570, 573, 596, 616, 740
bookmarking 233
boolean properties 178, 180
bound properties 192
browser 472
buffer 58
buffer attribute 75, 77
buffered output 75, 76
See also output buffering
BufferedReader 469
ByteArrayInputStream 377
ByteArrayOutputStream 377
bytecodes 8
C
C language
as programming language 5
C preprocessor 81
C sharp 7
C++ 6
CachedRowSet 212
caching 161, 163, 481
prevention 109
Calendar 586
CDATA 626, 627, 629
CGI. See Common Gateway Interface
character set 71, 72
checked keyword 448
class methods 87
class path 394, 395
class variables 85
clearBody() 569
client/server protocol 19
Cocoon 12
code generation 489
coin flips 33–35, 40–41
Colburn, Rafe 235
ColdFusion 6–7, 199, 200
similarities to JSP 11
color bars 523
COM 6
command pattern 249, 265, 287
CommandToken 292
comments 68, 97, 98, 702
commit() 216
Common Gateway Interface 4–5
contrast with template systems 6
scripting 468
compilation 7
in ASP.NET 7
into Java bytecodes 8
of JSP into servlets 52
of PHP 7
compilation error 92, 100, 114, 561
component 13
component-centric design 130
components
architecture 13, 130–131, 240
development 131, 140
model 130
persistence 160
composite pages 238
compound interest calculator 152
CompoundInterestBean 184, 187
conditionalization 93, 97, 587
example 33
tenary operator 90
conference booking tool 217
config implicit object 104, 116
configuring beans 181
connection pool 209
ConnectionBean 209, 219
constrained properties 192
container. See servlet, container, JSP container
content comments 98, 702
content handler 638, 645
content type 20, 71, 410, 411, 433, 471, 472
contentType attribute 71, 411, 525
control layer 230–232
cookies 26, 59–61, 67, 76, 106, 126, 128, 419, 431, 441, 563,
565, 568, 571, 727
restrictions 425
CopyingTLV 635
CORBA 6
CountDown applet 690
CSS-1 483
custom tags 15, 44, 57, 66, 68, 82, 97, 121, 141, 174, 395, 468,
530, 531, 559, 583, 707
API 544
attributes 533
body content 548
descriptor 82, 405, 531, 535, 556, 559,
567, 587, 608, 609, 661, 707
hierarchy 614
interaction 614
libraries 405, 698
nested 570
validation 556
versioning 536
D
data beans 139, 271
data sources 200
databases 87, 254, 264
access 217
database-driven JSPs 202
handling large sets of results 211
handling nulls 207
java.sql package 199
persistent connections 208
persistent ResultSet 211
prepared statements 201, 283–284
type conversion 205
DataBean 610
dates and times
from a database 206
DebugBufferTag 561
declarations 84, 609, 704
method 86
variable 84
declare flag 557
DefaultHandler 646
deployment descriptor 105, 114, 116, 386, 387, 390, 396, 475
deprecated methods 718
destroy() 25
directives 68
JSP 47
distributed
architectures 263
transactions 269
web applications 397
division of labor 132, 134, 270
DMZ 267, 268, 275
doAfterBody() 549, 569, 573, 577, 600
doCatch() 554, 577
Document Object Model 12, 634, 652
Document Type Definition 11, 396, 623, 665
DocumentBuilder 655
DocumentBuilderFactory 654
doEndTag() 546, 549, 563, 564
doFinally() 554, 578
doGet() 57
doInitBody() 549
DOM. See Document Object Model
doPost() 25, 57
doStartTag() 546, 561, 564, 577, 585, 589, 598, 617
Drumbeat 2000 700
DTD. See Document Type Definition
dynamic content 470–492
definition 3
history 2–8
justification 3–4
simple JSP examples 32–44
dynamic HTML 441
dynamically generating property values 170
E
EJBs. See Enterprise JavaBeans
electronic mail 432–433, 501
JavaMail 426, 432, 503, 531
Element Construction Set 10
email. See electronic mail
encodeHTML 572
EncodeHtmlTag 573
encodeURL() 570
Encom 335
Enterprise JavaBeans 263, 270
and ColdFusion 6
and Javabeans 264
EJB container 264, 412
Ericsson R320 38
error handling 63, 94, 227, 252
run time 56
tag library validation 632
translation-time 55
error page 79, 120, 126, 425
errorPage attribute 76, 79, 80, 94, 426
EVAL_BODY_AGAIN 549, 600
EVAL_BODY_BUFFERED 577
event listeners 409, 538
example tag library 559
Excel 488
Excel spread sheets 488
exception 63
exception implicit object 80, 120, 426, 427, 435, 719
expressions 84, 88
extends attribute 53, 72, 104
Extensible Markup Language. See XML
eXtensible Server Pages 12
Extensible Stylesheet Language Transformations 12
external content 482
extranet 267
F
fact() 86, 89, 93, 94, 98, 99, 106
factorial 86
factory method 718
factory pattern 718
failsafe 575
FailsafeTag 576
FAQ 698
FaqBean 276
FaqRepository 279
FaqRepositoryException 285
FaqServlet 312
FetchEmployeeServlet 258
file extension 52, 474
Filter 327, 330, 719
FilterChain 327, 331, 409, 719
FilterConfig 330, 362, 374, 407, 720
filters 327, 406
findAncestorWithClass() 615
firewall 267
flow control 93, 241, 247, 288
Flynn, Kevin 70, 91, 708
for loop 94
form processing
persistent interfaces 447
FormBean 454
forms
and HTTP methods 23
handling 152, 155, 296, 441, 452
persistent interfaces 446–447, 516
submission 155
support in JSP for 64
forProperty 588, 595, 616
tag 596, 618
ForPropertyTagBeanInfo 606
ForPropertyTEI 608
freeMemory() 62
G
GameGrid 91
GET 21
and servlets 25
getAttribute() 243, 246, 249
getAttributeString() 609
getClass() 597
getContextPath() 393
getCookies() 419, 421
getHeaders()
as HTTP-specific method 26
getId() 609
getIndexedReader() 602
getInitParameter() 413
getInitParameters() 633
getInputStream() 632
getLastAccessedTime() 163
getMaxInactiveInterval() 163
getMimeType() 524
getPageContext() 524
getParam() 442
getParameter() 26, 38, 39, 64, 689
getParamValues() 442
getParent() 614, 615
getPathInfo() 249, 401
getPreviousOut() 570, 578
getReader() 602
getRemoteAddr() 27, 39
getRequestDispatcher() 107, 244
getRequestURL() 216, 246, 429
getResource() 394
getResourceAsStream() 394
getServletPath() 246
getString() 569
getter method 168, 171
getVariableInfo() 556, 608, 609
Gregg, Preston 253
H
headers 76, 128
HTTP 20
Hello, world! 31
HelloBean 43, 681
helper class 533, 534, 556, 595, 600, 608
naming convention 608
Hewlett Packard 697
hidden form elements 249, 446
HomeSite 700
HTML
embedding code within 5
encoding 572
entity 447, 572
printed by servlets 10
production by JavaBeans 15
tags 393
HTML. See Hypertext Markup Language
HTTP 72, 419, 422, 441
cookies. See cookies
GET 429
GET method 347
headers 106, 126
POST method 347
protocol 232
status code 414
HTTP GET. See GET
HTTP POST. See POST
HTTP. See Hypertext Transfer Protocol 18
HttpJspPage 104, 735
HttpResponseWrapper 374
HTTPS 422
HttpServlet 25
HttpServletRequest 25, 39, 64, 106, 393, 419, 429, 729
HttpServletRequestWrapper 329, 332, 730
HttpServletResponse 25, 108, 419, 730
HttpServletResponseWrapper 329, 333, 376, 732
HttpSession 112, 163, 733
HttpSessionActivationListener 410, 733
HttpSessionAttributeListener 369, 410, 538, 733
HttpSessionBindingEvent 191
HttpSessionBindingListener 114, 190, 210–211, 734
HttpSessionEvent 734
HttpSessionListener 369, 410, 538, 735
HttpUtils 216, 429
Hypertext Markup Language 18
Hypertext Transfer Protocol 18–23, 57
I
IBM 697
if statement 93
ifProperty 588
IfPropertyTag 588
IIS. See Internet Information Server
IllegalArgumentException 95
IllegalStateException 125
implicit object 38, 64, 103, 196, 524, 562
attributes 103, 106, 112, 115, 117, 123
import attribute 69, 72, 435, 706
import statement 73
include directive 71, 80, 81, 84, 116, 127, 238, 239, 629, 705, 712
index 616
index generator 517
indexed properties 137, 150, 172–174, 176, 194, 510, 600, 610
accessing through bean tags 175
IndexTag 616
industry standards 16
InetAddress 440
info attribute 70
inheritance 718
initialization parameters 104, 114, 116
initializing beans 150
from request 151
properties 156
instance variables 85, 170, 185
Internet Assigned Numbers Authority (IANA) 71, 411
Internet Information Server. See web server
intranet 267–268
intranet example 335
introspection 167, 590, 595, 599, 602, 610
IntrospectionException 592, 603
introspector 590, 606
invoke() 605
IP address 28, 39, 437
iPlanet 699
isChecked() 443
isErrorPage attribute 79, 120, 435, 719
isNew() 41
ISO-8859-1 character set 71, 72
isSelected() 443
isThreadSafe attribute 85
isValid() 556, 608, 609
iteration 93, 94, 97, 587, 595
example 34
IterationTag 546, 596, 741
J
J2EE. See Java 2 Platform, Enterprise Edition
J2ME. See Java 2 Platform, Micro Edition
J2SE. See Java 2 Platform, Standard Edition
Jakarta Tomcat 31, 405, 698
and JSP 1.2 677
and web applications 681
builds 678
downloading 677
installation and use 676–682
version 3 677
version 4 677
JARs 532, 661
jar command 395
JAR files 385, 395
Java
bytecodes 8
CGI programs in 5
ColdFusion extensions in 6
generating with JSP 489
history 683
on the web 8–11
Java 2 683
Enterprise Edition (J2EE) 396, 536, 539,
699
Java 2 Platform
Enterprise Edition 15
BluePrints 16
Micro Edition 15
Standard Edition 15
Java APIs for XML Processing 634
Java applets. See applets
Java Community Process 8, 10, 57, 676
Java Development Kit 677, 697
Java plug-in 128, 684
Java Server Pages
application 163
as a template system 10
Bean tags 140
comments 98
components 202
container 68, 70, 72, 390, 392, 399, 698
version
information 116
future outlook 16
history 10
JSP 1.1 126, 535, 536, 539, 549
JSP 1.2 72, 126, 319, 406, 530, 533, 535,
537, 538, 541, 543, 558, 623, 660, 718
life-cycle methods 87
Java servlet technology. See servlets
Java servlet. See servlet
Java Virtual Machine 8, 684
Java Web Server 10
java.io.Serializable 62
java.sql package 199
JAVA_HOME 679
JavaBeans 13–15, 42–44, 66, 68, 89, 93, 128, 130, 135,
203, 530, 531, 545, 603
accessibility 157
and EJBs 264
API 135, 166, 191
bean containers 135
configuring 164, 181
constructors 181
containers 135, 137, 166
conventions 166
creating 165
data beans 139
data types 137
defining properties 168
event model 191
from a database 202
indexed property 595
initializing 150, 151, 155
initializing from the request 151
interfaces 189
life span 157, 195
persisting 202–205
properties 135
property sheets 138
removing from scope 195
scope 157
self populating from a database 204
serialized 190
service beans 139
support in JSP for 64
visual 139
JavaMail 426, 432, 503, 531
See also electronic mail 531
JavaScript 7, 19, 67, 133, 296, 298, 437, 451, 485, 528, 699
cross-frame 439
generating with JSP 437
onChange() handler 439
onKeyPress() handler 440
onSubmit() handler 451
javax.servlet package 25
javax.servlet.Servlet interface 53
javax.sql 199
JAXP. See Java APIs for XML Processing
JCP. See Java Community Process
JDBC 199, 216, 254, 531, 540
data types 205
JDBC 2.0 200, 211, 212
JDBC Data Access API 14
JDK. See Java Deveopment Kit
Jedi training 234
JMeter 700
JNDI 200, 283
JRE 687
JRun 699
JScript 7
JSP
contents of pages 47
JSP 1.2 543
standard tag library. See JSPTL
JSP container 31, 52, 53
See also Jakarrta Tomcat
JSP style sheets 483
JspException 253, 551, 562, 599, 736
JSP-INTEREST 700
JspPage 104, 404, 737
JspTagException 562, 603, 605, 618
JSPTL (JSP Standard Tag Library) 57
JspWriter 109, 548, 618, 737
JVM. See Java Virtual Machine
L
latin-1 character set 72
life span 157
life-cycle events 87, 538
linked properties 136–137
Linux 697
LISP 5
load balancing 62
log files 114
LoginServlet 344
LogoutServlet 358
Lora 446
M
Macromedia ColdFusion.See ColdFusion
mail merge 6
mail. See electronic mail 531
maintenance 269
makeErrorReport() 427
MANIFEST.MF 532
Manning utility tags 560
Math.random() 33
Matryoshka dolls 327
MD5 292
mediator pattern 242, 286
message digest 252
META-INF directory 532
methods
HTTP 21
Microsoft
Internet Explorer 684, 687
Windows 82, 437, 697
Microsoft Windows 7
ColdFusion on 6
MIME 471
MIME types 71, 410, 411, 433, 471
setContentType() 411
text/html 410
modification date 467
multiformat applications 473
multipage transaction processing 217
multiplication table 35
multithreading 78
See also isThreadSafe attribute
thread safety 77, 85
multitier architectures 263, 266
multivalued properties. See indexed properties
N
NamedRequestDispatcher 246
namespaces
XML 49
NestingTLV 651
Netscape
Application Server 264
Communicator 437, 684, 687
Node 656
NodeList 656
non-HTML content 37, 470–492
null values 180
NumberFormat 562
O
Object 104, 116, 597, 606
onChange() handler 439
onKeyPress() handler 440
onSubmit() handler 451
open source 7, 667, 699
out implicit object 109, 549
out.println() 27, 33, 53
output buffer 76, 125, 128, 421
buffer size 76
clearing 111
default size 75
error pages 79
flushing 111, 125, 126
size parameters 111
P
packages 72, 75, 143
page beans 158
page compiler 401
page compiler servlet 403, 533
page directive 68, 70, 85, 94, 104, 114, 120, 411, 421, 426, 427,
435, 613, 629, 706, 719
page implicit object 104, 719
page scope 120
page-centric design 233, 270
limitations 241
PageContext 557, 738
implicit object 117, 123, 303
instance variable 562, 565, 570, 583, 589,
598, 600, 614
PageData 632, 741
pageEncoding attribute 72
page-to-page communication 294
performance 269
JSP performance 54
persistence 265
long term 190
persistent connections 208
persistent ResultSet 211
PHP 7, 199
plain text output 475
PlotBean 610
ports
TCP 680
POST 21, 429
and servlets 25
precompilation 54, 659
precompiling JSP pages 386, 403, 404
prepared statements 201, 283–284
presentation layer 230–231
PrintWriter 109, 428
process
definition 5
properties 135, 168
data types 137
handling null values 180
indexed 137
linked 136
name conventions 171
read-only, write-only 136
property
JavaBeans 42
property descriptors 603
property sheets 138
PropertyDescriptor 591, 607
PropertyVetoException 192
protocol
client/server 19
definition 18
request/response 19
protocols
bidrectional 19
proxies. See web proxies
public web 267
Q
quote generator 497
R
radio buttons 447
read-only property 171
Recognizer 91
Red Cookie Page 421
reference implementation
reflection 167, 590, 591, 595, 599, 600, 604
relative URL 393
release() 553, 564, 565, 571, 584, 589, 592, 601, 617, 633
reloading a page 232, 251, 291
removing a bean 195
reportCookies() 431
reportException() 428
reportHeaders() 430
reporting system problems 437
reportParameters() 429
reportRequest() 428
request 24, 448
attributes 103, 106, 159, 243–246,
248, 253, 446, 720
beans 159
headers 419, 430
HTTP 18
implicit object 38, 64, 105, 123, 196,
419, 423, 427, 442, 446, 467
parameters 67, 106, 123, 124, 126, 152,
155–157, 249, 430, 442, 447–449, 451, 453
scope 120
spoofing 156
request parameters 38
request phase 54
request/response model 19, 24, 52
requestContains() 443
RequestDispatcher 243–245, 247, 253, 446, 720
forward() 244
include() 245
request-time attribute expressions 52
request-time attribute values 52, 122, 124, 126, 542, 689, 690,
709, 711, 715
XML representation 627
Resin 67, 699
resource pooling 534, 544, 556
response 24
headers 77, 112, 419, 421
HTTP 18
implicit object 38, 64, 107, 419, 421
ResponseWrapper 374
ResultSet 203, 212
persistent 211
reusability 130–131
and JavaBeans 13
risk factors 269
role-based pages 233
role-based security 336
RoleFilter 364, 408
rollback() 216
rotating banner ad 494
run time
of JSP page 54
run-time errors 76
S
SAX. See Simple API for XML
SAXParser 642
SAXParserFactory 641
scalability 269
scope 92, 119, 164, 195, 557
application 120
of JavaBeans 157
page 158
request 159
session 120
screen mapper 248
ScriptFreeTLV 638
scripting
elements 66, 68, 71, 102
language 66, 80, 84, 89, 104, 601
comments 99
variables 533, 538, 557, 559, 583, 595,
599, 600, 608, 609
scripting elements 47
scripting language
and JavaBeans 14
in template systems 6
scriptlets 84, 91, 93, 99, 713
and JavaBeans 192
search engine 3
security 156, 195
selected keyword 448
self-populating Beans 204
sendEmail() 432
sending mail. See electronic mail
separation
of presentation and implementation 2, 14,
41–44
serialization 269
serializable interface 190
server control. See ASP.NET
Server Side JavaScript 199
server.xml 680
service beans 139
service() 25, 53
servlet 9, 98, 104, 122, 124, 126, 128, 159, 233, 242–249,
253, 265, 270, 386, 397, 402, 446, 718, 720
and web servers 24
comparison with applets 9
comparison with CGI 9–10
compilation of JSP to 52, 56
container
definition 24
version
information 116
drawbacks 10
errors 426
example code 26
history 10
mapping 400
request attributes 247, 253, 446, 720
RequestDispatcher 246
Servlet 2.3 319
Servlet API 2.1 244
Servlet API 2.2 159, 244
Servlet API 2.3 126, 538
servlet interface 25
structure 24
technical overview 23–29
with JSP 242, 287
servlet chaining 326
servlet container
See also Jakarta Tomcat
servlet engine. See servlet container
servlet JSP standards
See Jakarta Tomcat
servlet-centric design 233, 265
ServletConfig 105
ServletContext 114, 244, 385, 413, 721
ServletContextAttributeEvent 722
ServletContextAttributeListener 410, 538, 722
ServletContextEvent 722
ServletContextListener 410, 538, 723
ServletExec 699
ServletRequest 25, 105, 724
ServletRequestWrapper 329, 332, 725
ServletResponse 25, 107, 726
ServletResponseWrapper 329, 332, 726
session 39, 59–63, 269, 413
attribute 70, 75, 114, 719
beans 160
events 190
ID 568, 570, 571
implicit object 38, 39, 64, 75, 112, 120,
123
management 67, 75, 112, 114, 120, 123,
160, 567, 568
migration 63
scope 120
timeout 113
session identifier 59
session management 19, 39, 59
special considerations 61
setAttribute() 39, 246, 583, 585
setBodyContent() 548
setContentType() 411
setInitParameters() 633, 640
setMaxAge() 421
setMaxInactiveInterval() 163, 412
setPageContext() 545, 562
setParent() 545, 614
setStatus() 414
setter method 168, 171
shopping cart 161, 190
Simple API for XML 12, 634, 638
SimpleBeanInfo 607
SimpleUserBase 339
SimpleUserDataManager 340
singleton pattern 279, 283
SMTP 432–433
socket connections 507
Solaris 697
source
viewing HTML 35
spawned
definition 5
spread sheets 488
SQL 201, 216, 254, 540
SQLException 285, 414
stack trace 425, 428, 436
standard action
definition 50
startsWithVowel() 86
state
HTTP as not preserving 19
stateful
HTTP as not 19
stateless
HTTP as 19
protocols, implecations of 59
static content 3
example 31
static methods 87
static variables 85
status line
HTTP 20
sticker 499
sticky widgets 441, 515
StringBuffer 428, 574
StringReplaceFilter 372
StringReplaceResponse 375
StringWriter 428
style sheets 483
Submit buttons 449
Sun Microsystems 697
superclass 72
Swing 683
synchronized keyword 78, 284
syntax 48–50
system commands 468
T
table
HTML 35
multiplication 35
tag 544, 561, 615, 741
tag constants
EVAL_BODY_AGAIN 547
EVAL_BODY_BUFFERED 548, 577
EVAL_BODY_INCLUDE 546, 548, 589
EVAL_PAGE 547, 563
REQUEST_TIME_VALUE 556
SKIP_BODY 549, 577, 585, 589, 599, 600,
618
SKIP_PAGE 547
tag handler 534, 544, 661
naming convention 561
resource management 556
reuse 534, 550
tag libraries. See custom tags
tag library validator 631
sequencing 632
TagAttributeInfo 559, 742
TagData 556, 609
TagExtraInfo 539, 556, 558, 608, 743
TagInfo 559, 743
taglib directive 82, 405, 530, 531, 625, 662, 665, 707
taglib.tld 532, 661
TagLibraryInfo 559, 744
TagLibraryValidator 632, 744
TagSupport 544, 561, 562, 615, 744
TagVariableInfo 559
team size 270
TEI 608
See also TagExtraInfo
Tell a Friend! sticker 499
Telnet
comparison with HTTP 19
template systems 5–8
testing 404
text areas 447, 516
text field 446
throwable 56, 120, 435
timeOfDay 583, 594
TimeOfDayBean 584, 594
TimeOfDayTag 584
TimerBean 161
timestamp 206, 285
TimeZone 586
TLD. See tag library, descriptor 83
TmpServletOutputStream 376
Tomcat. See Jakarta Tomcat
toString() 89
touch 82
transaction 216, 218, 232
integrity 251, 269, 291
management 263
monitors 264
processing 216–217
support 265
token 251, 252
transferring control 117, 122, 125
transformation
XSLT 12
translation 52–56
errors 55
versus execution 54
trigger properties 136, 205
try block 94, 96, 426, 435
TryCatchFinally 554, 575
tutorial 698
type conversion 137, 179
U
Unicode 628
UNIX 82, 109, 468, 680
time 109
UnknownFaqException 285
Uniform Recource Locator. See URL
URL 22, 567
absolute 393
mapping 386, 392, 400
parameters 28, 38
relative 393
rewriting 567, 568
URLDecoder 424
user authentication 195, 335, 337
user-agent 472
UserBean 337
UserDataManager 338
UserSessionManager 341
V
validate() 632
validating
custom tag libraries 533
validation 533
client-side 451
custom tag libraries 537
of JSP pages 12
of XML documents 11
server-side 452
ValidationMessage 632
valueBound() 191
valueUnbound() 191
VariableInfo 557, 609
VariableInfo constants
AT_BEGIN 558
AT_END 558
NESTED 558, 609
velocity 8
View Source 35, 98, 525
virtual private networks 267
visibility 557
visual component Beans 138–139
VPN. See Virtual Private Network
VXML 479
W
WAR. See web archive
wasNull() 207
WDDX and XML 11
WDDX. See Web Distributed Data Exchange
web application deployment descriptor. See deployment descriptor
web applications 230
from component 133
web archive 385
<context-param> 412
<description> 397
<display-name> 397
<distributable> 397
<icon> 397
<init-param> 399
<large-icon> 397
<load-on-startup> 399
<param-name> 399
<param-value> 399
<servlet> 400
<servlet-class> 398
<servlet-mapping> 400
<servlet-name> 398, 400
<session-config> 412
<session-timeout> 412
<small-icon> 397
<url-pattern> 400
<web-app> 397
<welcome-file-list> 397
classes directory 394
creating 395
deployment descriptor 386
expanded 415, 417
files 390, 392
lib directory 395
registering with JSP container 386
web browser 19–23
Web Distributed Data Exchange 6, 8
web server
communication with external process 4
definition 18
web server clustering 269
web teams 132
web.xml 386, 389, 532, 662
WEB-INF 681
WEB-INF directory 386, 394
classes directory 394, 405
lib directory 395, 405, 661
tlds directory 395, 405, 532
WebLogic 699
WebSphere 160, 264, 699, 700
while loop 94
white space 148
Whois 505
Windows. See Microsoft Windows
Wireless Markup Language 37, 474
withArticle() 86
WML 474
worker beans 139
write-only property 171
WYGIWYG 478, 489
WYGIWYG output 476
X
XML 11–13, 47, 71, 82, 98, 121, 386, 387, 396, 531, 622
and JSP 12
empty tags 49
entities 629
generating 477
namespace 49, 625, 655, 707
overview 48–50
page translation 69
syntax 51
view of JSP pages 50
XML Path Language 12
XML representation 623
root element 625
xmlns attribute 625
XPath. See XML Path Language
XSLT. See Extensible Stylesheet Language Transformations 12
XSP. See eXtensible Server Pages
Z
Zip files 678