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

we have 7 jsp pages .At last page we have a submit button when we click it it will store all jsps data which we provide will store into database. when we starting providing data in jsp pages when we are at 3rd jsp at that time sessions timeout where the data will be store which we r provide in last two jsps?

2 Answers  


What configuration changes are required to use Tiles in Struts?

0 Answers  


Can we write Structs application without using Action Class directly or indirectly(extends Action class)

5 Answers  


What do you mean by the abstract package in struts2, and what is its utilization?

0 Answers  


What do you mean by actionform?

0 Answers  






How can duplicate form submission be handled in struts 2?

0 Answers  


What is the default suffix for Struts2 action URI and how can we change it?

0 Answers  


where you store password in banking project

1 Answers  


What is http redirect?

0 Answers  


why do we typecast ActionForm into out plain java bean class in Action class?

5 Answers  


What do you mean by tiles in struts?

0 Answers  


kindly can any one post for me portlet,hibernate,spring example code and configuration,and some related tutorials plz its urgent for me....thanks in advance ............

1 Answers  


Categories