"Spring Boot"의 두 판 사이의 차이
잔글 |
잔글 |
||
22번째 줄: | 22번째 줄: | ||
*[[Spring|Spring]] | *[[Spring|Spring]] | ||
+ | *http://noritersand.tistory.com/474 |
2016년 11월 11일 (금) 14:05 판
Spring Boot를 정리 한다.
Annotation
@RequestMapping(value = "login", method = RequestMethod.GET, params = { "!error" })
@RequestMapping(value = "login", method = RequestMethod.GET, params = { "error" })
@Autowired
private HttpSession httpSession;
httpSession.getAttribute("projectId")
public String showLoginError(Map<String, Object> model, @RequestParam String error) { ~ }
public String domainList(ModelMap modelMap,
@RequestParam(value = "debug", defaultValue = "false", required = false) String debug) {
$.ajax({
type: "put",
url: "/api/filter/projects",
data: JSON.stringify({
projectId: filterProject.attr("projectId"),
projectName: filterProject.attr("projectName"),
projectDescription: filterProject.attr("projectDescription"),
projects: [],
dateId: "",
startDate: "",
endDate: "",
dateDescription: "",
dates: []
}),
contentType: "application/json",
dataType: "json"
}).done(function (data) {
});
public FilterWrap filterProjectsUpdate(@RequestBody FilterWrap filter) {