Created
June 1, 2019 04:44
-
-
Save donchan922/832ae47e7952e37d2fc8cc9cdb6c8961 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Controller | |
public class DemoController { | |
@RequestMapping(value = "/", method = RequestMethod.GET) | |
public @ResponseBody String greeting() { | |
return "Hello World"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment