What is the difference between struts and spring? Explain
Answer / Prafull Gupta
Struts and Spring are both Java web frameworks but have different focuses. Struts primarily focuses on building MVC architectures, handling form submissions, and providing a default set of validators. Spring, on the other hand, is more comprehensive, providing support for IoC (Inversion of Control), AOP (Aspect-Oriented Programming), and has robust data access layers (JDBC, JPA, Hibernate).
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is the use of ActionErrors in Struts
Explain design patterns which is used in struts?
What do you mean by struts.dev mode?
What is the difference between requestaware and servletrequestaware interface?
How exceptions are handled in struts application?
diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
8 Answers Athena Health Care, Symphony, TCS,
What is the purpose of @before annotation?
struts 1.3 features?
What is the purpose of @conversion annotation annotation?
How do I access token?
How is the Struts framworl related to MVC2?