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 validate() and reset() functions?
What does i18n interceptor?
What is dispatch action class?
What are the advantages of spring mvc over struts mvc?
What are pull and push mvc architecture and which architecture does struts2 follow?
What do you mean by a custom tag?
what is project architecture?give brief explanation about project architecture?
3 Answers CTS, Etisalat, IBM, Infinite Computer Solutions, Mphasis,
Give an example where struts tiles may be used?
whats is mean Actionerrors and Actionerror?
What validate() and reset() method does ?
What is the purpose of struts.xml in struct2?
How do you know what to give for the "path " under in struts-config.xml ?