Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How is declarative handling of exceptions done in struts ?

932


What is the difference between shocks and struts?

964


What are action errors?

999


What are action errors and error?

1051


What is role of action class?

1062


Difference between struts and spring? Or why use spring, if you are already using struts?

974


How can link tag’s action attribute be used?

958


What are the differences between http direct and http indirect?

986


What are apache struts?

926


What are best practices to follow while developing Struts2 application?

1076


Why actionservlet is singleton in struts?

1019


What is life cycle of an interceptor?

1060


How tag libraries are defined in Struts?

1005


What is the use of struts config xml file?

879


When should we use SwtichAction?

1080