| < Day Day Up > |
|
Eclipse (debugging with)
configuring Eclipse, 121-124
installing Tomcat, 118-121
setting breakpoints, 125, 129
stepping through source code, 124-127
stepping through struts source, 127-129
Edit Employee transaction (employees application)
deploying, 282-284
EditEmployeeAction, 280-282
Edit Employee JSP, 278-280
EmployeeForm, 280
GetEmployeeAction, 275-278
elements. See also sub-elements
<action-mappings>, 144, 299-301
<data-source>, 173-175, 295-296
<forward> element, 108-109, 298-299
<message-resources>, 302-303
<plugin>, 303
Email rule (Validator), 190, 197-198
Employee List transaction (employees application)
deploying, 266-267
EmployeeListAction, 263-264
Employee List JSP, 264-266
employees application
Add Employee transaction
AddEmployeeAction, 272-273
Add Employee JSP, 267-269
deploying, 274-275
EmployeeForm, 269-272
copying jar files, 245-246
database
creating, 251-253
departments table, 251
employees table, 250
roles table, 251
DataSource configuration, 261
Delete Employee transaction
DeleteEmployeeAction, 284-285
deploying, 286-287
Edit Employee transaction
deploying, 282-284
EditEmployeeAction, 280-282
Edit Employee JSP, 278-280
EmployeeForm, 280
GetEmployeeAction, 275-278
EmployeeData object, 255-261
Employee List transaction
deploying, 266-267
EmployeeListAction, 263-264
Employee List JSP, 264-266
Employee object, 253-255
EmplyeeListAction, 262-263
resource bundles, 247-248
tag libraries, 248-250
testing, 287-289
web.xml file, 246-247
Welcome page, 262-263
employees table (employees application), 250
error handling. See also debugging
ActionError class, 159-161
ActionErrors class, 161-162
context-sensitive messages, 392-396
JSPs (Java Server Pages), 36-37
minlength rule (Validator), 188
wroxstruts application
Action.execute() method, 167-170
<action> element, 162-163
ActionForm.validate() method, 163-164
ApplicationResources file modifications, 169-170
<html:errors /> tag, 165-167
LookupAction code listing, 167-169
error pages (JSPs), 36-37
<exception> sub-element, 297-298
exception handlers, 400-401
exception object (JSPs), 42
execute() method, 79-81
ExpressionEvaluatorManager, 407
expressions, 35, 398-399
| < Day Day Up > |
|