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 |
State an example of struts configuration file as an action parameter for action servlet.
What is the purpose of @action annotation?
i have list of values(e.g 100). using logic:iterate, how can i print the multiples of 5th element? how the logic:iterate will understand the multiples of 5.
Why are springs better than struts?
where you store password in banking project
How can we write our own interceptor and map it for action?
what is frame work in struts?
Describe the basic steps used to create a tiles application?
How do you convert struts to springs?
How is token generated?
What is the use of lookupdispatchaction?
How is forward action used for integration?