0 votes
in Spring by

Can we send an Object as the response of Controller handler method?

1 Answer

0 votes
by

Yes we can, using @ResponseBody annotation. This is how we send JSON or XML based response in restful web services.

Related questions

0 votes
asked Apr 4, 2021 in Spring by Robindeniel
0 votes
asked Oct 8, 2022 in JavaScript by rajeshsharma
...