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 difference between SAX Parser and DOM Parser??

14 Answers   Cap Gemini, Goldman Sachs, HCL, Hidden Brains, HP,


In which order struts framework searches for a message bundle?

0 Answers  


why we are using vo,dao and dto design patterns in struts framework

3 Answers   Wipro,


What helpers in the form of jsp pages are provided in struts framework?

0 Answers  


Is struts thread safe?

4 Answers   HCL, Mphasis,






is it possible to see actionservlet in my system. if yes how

5 Answers  


Which servlet does the struts framework use?

0 Answers  


What is Portlet???? when,where and why we use it ??

3 Answers   Infotech, Rebaca, Wipro,


What is difference between lookupdispatchaction and dispatchaction?

0 Answers  


What is the purpose of action tag in struts.xml?

0 Answers  


When should we use SwtichAction?

0 Answers  


What is the purpose of global-forwards tag in struct-config.xml?

0 Answers  


Categories