Difference between Spring framework and Struts framework?
Answers were Sorted based on User's Feedback
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 |
What is Visual Source Safe(source control Tool)?
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 ?
What is the use of log4j and how to make use of that in a application?
What are maps interfaces in the java collections? : java collections
whats the relation ship between LDAP and JNDI?
What is the use of the list interface in the java collection? : java collections
VSS Objectives
which book is the best for preparing for SCWCD 1.5
waht are architecture of web application?
What is the difference between Eclipse and MyEclipse?
How to use ANT?
What is need of DAO? Write one simple DAO example?