what is the diff between struts1.0 and struts2.0

Answers were Sorted based on User's Feedback



what is the diff between struts1.0 and struts2.0..

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

what is the diff between struts1.0 and struts2.0..

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

Post New Answer

More Struts Interview Questions

State an example of struts configuration file as an action parameter for action servlet.

0 Answers  


What is the purpose of @action annotation?

0 Answers  


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.

2 Answers   CTS, TCS,


Why are springs better than struts?

0 Answers  


where you store password in banking project

1 Answers  






How can we write our own interceptor and map it for action?

0 Answers  


what is frame work in struts?

3 Answers   Infosys,


Describe the basic steps used to create a tiles application?

0 Answers  


How do you convert struts to springs?

0 Answers  


How is token generated?

0 Answers  


What is the use of lookupdispatchaction?

0 Answers  


How is forward action used for integration?

0 Answers  


Categories