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 deque in the java collections framework? : java collections
Why do you use Context Object
httt method
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What is IOC in spring?
What are the different types of ways where you can iterate over a list? : java collections
What are maps interfaces in the java collections? : java collections
can u draw class/object diagram for ATM
0 Answers HCL, Zycus Infotech,
what is diff string and stringbuffer
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?