How do you create a controller in Spring? @Controller vs. @RestController?

Deepika Sahu answered on December 24, 2022 Popularity 9/10 Helpfulness 2/10

Contents


More Related Answers

  • spring boot controller
  • What is the difference between Spring MVC and Spring core?
  • What is difference between Controller and RestController?
  • Add REST controller
  • Explain @RestController annotation in Spring Boot?
  • @restcontroller
  • spring rest controller
  • Create a REST controller class
  • difference between @COntroller @Service

  • How do you create a controller in Spring? @Controller vs. @RestController?

    0
    Popularity 9/10 Helpfulness 2/10 Language java
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Dec 24 2022
    Deepika Sahu
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    0
    Popularity 9/10 Helpfulness 1/10 Language java
    Tags: controller c
    Link to this answer
    Share Copy Link
    Contributed on Dec 24 2022
    Deepika Sahu
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.