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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between struts and spring?

583


What is the purpose of @keyproperty annotation annotation?

578


Name some useful annotations introduced in Struts2?

534


What validate() and reset() method does ?

546


Explain struts?

559






What is struts in j2ee?

530


What is the life cycle of actionform?

556


how to connect from struts to database through hibernet and where u can modify the class

2119


What is actioninvocation in struts2?

588


What are different ways to create Action classes in Struts2?

597


What is the purpose of form-beans tag in struct-config.xml?

553


What is action chaining ?

640


What's mvc pattern ?

590


Give the details of xml files used in validator framework?

590


What types of validations are available in xml based validation in struts2?

555