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

What’s the difference between struts and turbine? What’s the difference between struts and espresso?

508


How can forward action be used to restrict a strut application to mvc?

509


How can we integrate log4j in Struts2 application?

550


In which method of action class the business logic is executed?

534


What is the purpose of @keyproperty annotation annotation?

567






What is the purpose of @before annotation?

570


What is the purpose of @stringlengthfieldvalidator annotation?

588


What is the use of struts?

502


Can you explain custom tag?

563


What is the purpose of @result annotation?

614


State an example of struts configuration file as an action parameter for action servlet.

526


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

538


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

539


Are struts still used?

503


Why are springs better than struts?

593