Can we send an object as the response of controller handler method?
Answer / Akshay Vivek
Yes, you can send an object as a response from a Spring MVC controller by using ModelAndView or ResponseEntity classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is crudrepository?
What is an entity in entity framework?
How can you inject java collection in spring?
What are the ways to access hibernate using spring?
Does spring boot need tomcat? : Spring Boot
What are the different aop implementations?
What is spring rest?
What are the limitations with auto wiring?
What is the purpose of spring framework?
What are the design patterns used in spring boot? : Spring Boot
How many modules are there in spring? What are they?
What is lightinject?