what is the diff between struts1.0 and struts2.0
Answer Posted / 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 |
Post New Answer View All Answers
What are the features of struts?
When should we use SwtichAction?
Why we use struts in java?
What do you mean by the abstract package in struts2, and what is its utilization?
What is the purpose of @results annotation?
How nested beans can be used in Struts applications?
Describe the two types of formbeans.
What is the purpose of execute method of action class?
Which file is used by controller to get mapping information for request routing?
How to use dispatchaction?
What is action class?
What is dispatchaction?
What is the difference between requestaware and servletrequestaware interface?
What does modeldriven interceptor?
What is difference between lookupdispatchaction and dispatchaction?