Index_C

 < Day Day Up > 



C

Cactus, 409-413

classes

Action, 62

configuring, 81-83

execute() method, 79-81

extending, 78-79

ActionError, 159-161

ActionErrors, 161-162

ActionForm, 60-61

ActionServlet, 62, 73-75

configuring, 75-76

initialization parameters, 76

process() method, 74-75

GenericServlet, 15

HttpServlet, 15

RequestProcessor, 87

configuring, 89-90

creating, 87-89

processPreprocess() method, 87, 89

Commons Database Connection Pool. See DBCP

config object (JSPs), 42

constants (Validator), 195-196

context-sensitive error messages, 392-396

ContextServlet example

code listing, 21-22

deploying, 23-25

<controller> sub-element, 301-302

Controller components, 5, 62

Action class, 78

configuring, 81-83

execute() method, 79-81

extending, 78-79

ActionServlet class, 73-75

configuring, 75-76

initialization parameters, 76

process() method, 74-75

DispatchAction, 97-100

ForwardAction, 91-92

versus direct links, 92

versus forward attributes, 93-94

versus global forwards, 92-93

for legacy access, 94-96

MVC design patterns and, 94

IncludeAction, 96-97

internationalization

defining resource bundles, 152

deploying resource bundles, 152-153

LookupDispatchAction, 100-102

Plugins, 83

configuring, 86

creating, 84-86

destroy() method, 84

init() method, 84

RequestProcessor class, 87

configuring, 89-90

creating, 87-89

processPreprocess() method, 87, 89

SwitchAction, 102-103

Tiles as, 240-242

Counter bean example (JSPs), 44-47

creditCard rule (Validator), 190, 197-198



 < Day Day Up > 



Professional Jakarta Struts
Professional Jakarta Struts (Programmer to Programmer)
ISBN: 0764544373
EAN: 2147483647
Year: 2003
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net