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 are the pros of struts 2?
what is ACID test for fresh engineers??what is the pattern??
How exception handling is provided in struts?
What is defeult result type?
What are the two different types of validations that the validator framework supports?
What is MVC Architecture?
21 Answers HCL, Hexaware, Infosys, Infrascape, Tech Mahindra,
What is dispatch action class?
What is the purpose of @requiredstringvalidator annotation?
Can we have multiple struts config files ?
What is Request Dispatcher and What is reuest Processor??
Is struts compatible with other java technologies?
What is interceptor in Struts2?