This commit is contained in:
amit2103 2019-06-23 17:55:03 +05:30
parent 9d7d7b4dde
commit 559de5cfd6
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package org.baeldung.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
public class CustomController {
@RequestMapping(value = "/custom", method = RequestMethod.POST)
public String custom() {
return "custom";
}
}