Answer Posted / karuna.thambala
1) Conversion to and from FormBean to ValueObjects (though
it can be achieved with one line statement using
BeanUtils,but a automatic conversion would be desired)
2) Passing a subset of ActionForm through the Action chain
(using seperate set of ActionForm for a single HTML Form)
3) Using ActionForm not only as a carrier of data from HTML
forms to the Action but also to display data after
executing the Action
4) Changing the execute() method signature to pass only the
ActionForm and ActionMapping, and no
HttpServletRequest and HttpServletResponse objects.
Struts should be protocol agnostic.
5) Replacing static ActionForm with DynaActionForm for all
cases. ActionForm should be dynamic enough to include
parameters that are created dynamically using javascript.
6) Though not part of core Struts, having a sophisticated
Struts tag library,like displaying tabular data with run
time selection of style sheets,would definitely be handy.
7)Struts developers have completely rebuilt the
RequestProcessor using the Chain-of-Command/Chain-of-
Responsibility (CoR)
pattern implemented in Apache Commons-Chain
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What are the sections into which a strut configuration file can be divided?
What is the purpose of @doublerangefieldvalidator?
What is the purpose of @stringlengthfieldvalidator annotation?
How is a lookup dispatch action created?
Are actions thread safe?
What is the design role played by struts?
How interceptor works in struts 2?
Why it called struts?
What are the struts2 error message keys that can come during file uploading process?
What is used to display the intermediate result in an interceptor?
What is actioninvocation in struts2?
What is value stack?
What is the purpose of dispatcher result type?
What is the difference between requestaware and servletrequestaware interface?
What is the difference between validation.xml and validator-rules.xml files in struts validation framework?