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 |
whatis arguments &what is default argument
VSS Objectives
Write a interface "CarOperations" with the following methods void turnOnEngin() void turnOffEngin() void turnOnLigths() void turnOffLights() void turnLeft() void turnRight() void accelerate() void deaccelerate() void putBreaks() void releaseBreaks()
What are the queues in the java collection framework? : java collections
lll
What are the different types of ways where you can iterate over a list? : java collections
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 ?
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
Write a postfix expression to (a*(b+c/d)*d-e)
please mail me the interview question based on java/j2ee
In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
What are the different types of classes implemented in the set interfaces? : java collections