Syllabus:
2. jsp Model2(html/jsp-Servlet-model(dao))
3. jsp Model3(html/jsp-Filter-model(dao))
4. jsp Model2(html/jsp-jspCustomtags-model(dao))
Struts1.3.8:
1.Introduction
MVC architectures
MVC(view-Controller-
model)
MVC
models
1.
jsp Model1(html/jsp-jsp-model(dao))2. jsp Model2(html/jsp-Servlet-model(dao))
3. jsp Model3(html/jsp-Filter-model(dao))
4. jsp Model2(html/jsp-jspCustomtags-model(dao))
MVC2(view-Controller- business-model(dao))Design Patterns involved in strutsComposite ViewFront ControllerApplication ControllerView HelperCommand PatternFramework: semi developed applications2. About StrutsStruts-Featuresvalidation supportInternationalizationDeclarativeExceptionHandlingAction Support (for different kinds of events forword, include, download, switch, event, lookup, mapping)Tiles Framework feature3. Struts Architecture
struts1.3 directory structure
web.xml configurations
struts-config.xml configurations
struts-html tags
struts-bean tags
struts-tiles tags
ApplicationResources.properties
validation.xml
validation-rules.xml
ActionServlet class
RequestProcessor class
ModuleConfig interface
4. ActionForm classes:validate(),reset() methods
a. ActionForm
b. DynaActionForm
c. DynaValidatorForm
d. DynaValidatorActionForm
e. ValidatorForm
5. Action-support classes:
a) Action class
b) DispatchAction(EventDispatchAction, LookupDispatchAction, MappingDispatchAction)
c) DownloadAction,
d) ForwardAction, IncludeAction,
e) LocaleAction,
f) SwitchAction,
g) TilesAction,
Examples:
1.struts simple form processing
2.example using struts html fileds,bean fields
3.Internationalization example
4.Global exceptions example
5.DynaActionForm
6.Validator Form
7.Action class,Forword,Include Actions
8.Dispatch action event,lookup,Mapping Dispatch action example
9.switch action,Download action
Struts2.x:
Evolution of Struts 2:
1. Core components
a) interceptors
b) valueStack
c) ActionContext
d) ActionInvocation
e) OGNL
2.struts 2 architecture
3. struts2 tag library
4.struts 2 validation
5.struts 2 actions
6.struts 2 I18N
No comments:
Post a Comment