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 is the difference between shocks and struts?
Can you explain the directory structure for a struts folder in brief ?
What is the purpose of @requiredstringvalidator annotation?
What is action servlet in struts?
How to use forward action to restrict a strut application to mvc?
Who makes the struts?
Can you explain struts.properties in struts2?
What is the differences between struts1 and struts2?
Why we use struts over servlets?
Explain struts?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
Why actionservlet is singleton in struts?
How to handle exceptions in structs?
what is ACID test for fresh engineers??what is the pattern??
What are the core classes of struts?