what is the diff between struts1.0 and struts2.0
Answers were Sorted based on User's Feedback
Answer / abhi
There are few enhancements made. First to be simple in the
change in the configuration file. In 1.x it was struts-
config.xml and in struts 2.x it is struts.xml. In Struts
1.x we were writing separte java beans for action forms
wheras in struts 2.x, we write getters and setters in
action classes. There are many changes, you can go through
apache struts website.
Is This Answer Correct ? | 12 Yes | 6 No |
Answer / sourabh sharma
There are few enhancements made. First to be simple in the
change in the configuration file. In 1.x it was struts-
config.xml and in struts 2.x it is struts.xml. In Struts
1.x we were writing separte java beans for action forms
wheras in struts 2.x, we write getters and setters in
action classes. There are many changes.
Is This Answer Correct ? | 4 Yes | 2 No |
What is the purpose of @element annotation annotation?
What are the main classes which are used in struts application?
Explain about struts dispatch action?
How duplicate form submission can be controlled in struts?
What is Custom Type Converter in Struts2?
What is actioninvocation?
What are best practices to follow while developing Struts2 application?
what is difference between <bean:write> and <bean: message> tag
Where should struts xml be placed?
What are pull and push mvc architecture and which architecture does struts2 follow?
Are the struts tags xhtml compliant ?
What are the Core classes of Struts Framework?