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


Please Help Members By Posting Answers For Below Questions

Can we use struts and spring together?

534


What configurations are stored in struts configuration file ?

534


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

548


What are the features of struts 2?

545


Which model components are supported by Struts?

569






Who wrote struts?

554


What is controller in struts2?

503


What are the reasons for an error message not being displayed while developing struts application?

547


What is difference between struts1 and struts2?

508


What are the various struts tag libraries?

551


What is spring and struts in java?

515


Which file is used by controller to get mapping information for request routing?

539


What is the actionform?

578


How we can controlled duplicate form submission in struts?

522


In how many ways duplicate form submission can occurs?

569