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

Explain about struts?

540


What is the purpose of @keyproperty annotation annotation?

567


What’s the utilization of resource bundle properties file in struts validation structure?

612


how to debug struts project in netbean ?

1909


What are the components of struts framework?

571






How do I access token?

485


What is the actionform?

564


What is package name in struts xml?

537


What is the purpose of @createifnull annotation annotation?

603


What is the purpose of @element annotation annotation?

589


What is the use of reset method of ActionForm class?

563


What is the purpose of @result?

569


Which class of struts is responsible to converts data types from string and vice versa?

648


What is the purpose of execute method of action class?

554


Can you give an overview of how a struts application flows?

517