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

What is the purpose of @element annotation annotation?

0 Answers  


What are the main classes which are used in struts application?

0 Answers  


Explain about struts dispatch action?

0 Answers  


How duplicate form submission can be controlled in struts?

0 Answers  


What is Custom Type Converter in Struts2?

0 Answers  


What is actioninvocation?

0 Answers  


What are best practices to follow while developing Struts2 application?

0 Answers  


what is difference between <bean:write> and <bean: message> tag

2 Answers   CTS, IBM,


Where should struts xml be placed?

0 Answers  


What are pull and push mvc architecture and which architecture does struts2 follow?

0 Answers  


Are the struts tags xhtml compliant ?

0 Answers  


What are the Core classes of Struts Framework?

0 Answers  


Categories