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...


Difference between Spring framework and Struts framework?

Answers were Sorted based on User's Feedback



Difference between Spring framework and Struts framework?..

Answer / samy

as

Is This Answer Correct ?    0 Yes 0 No

Difference between Spring framework and Struts framework?..

Answer / lopus pmj

1. Struts is a web framework only, Struts can be compare with the SpringMVC. And SpringMVC is subset of the Spring framework. So we can say that Sturts can be seen as the subset of the spring framework in functionality point of view.
2. What Action class do in struts, Controller does in Spring. And action in Struts is a Abstract class but Controller in Spring is an interface, This is very good advantage of the spring.
3. Spring don't have any action from, it bind the http form values directly into pojo. Instead of initializing the form bean spring directly initialize the domain object.
4. ActionForward in struts is replace with the ModelAndView in Spring. Model component contain the business object to be displayed via view component.
5. Unlike Struts Spring don't provide any separate tag library.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java J2EE AllOther Interview Questions

What is Visual Source Safe(source control Tool)?

1 Answers  


In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?

0 Answers  


What is the use of log4j and how to make use of that in a application?

2 Answers  


What are maps interfaces in the java collections? : java collections

0 Answers  


whats the relation ship between LDAP and JNDI?

1 Answers  


What is the use of the list interface in the java collection? : java collections

0 Answers  


VSS Objectives

1 Answers  


which book is the best for preparing for SCWCD 1.5

4 Answers   Google,


waht are architecture of web application?

2 Answers  


What is the difference between Eclipse and MyEclipse?

7 Answers   IBM, Wavex,


How to use ANT?

2 Answers  


What is need of DAO? Write one simple DAO example?

2 Answers   IBM,


Categories