| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 |
- 자바스크립트
- TS
- frontend
- TypeScript
- spring boot security
- 프론트엔드
- Redux
- useState
- 백엔드개발자
- It
- security
- Authentication
- 타입스크립트
- VUE
- 스프링부트
- 리액트
- JS
- React
- JavaScript
- spring boot
- Node.js
- 큐넷
- 웹개발자
- 정보처리기사
- spring
- 수제비
- 백엔드
- JWT
- Front-End
- 정보처리기사 실기
- Today
- Total
목록2022/01/25 (3)
솔적솔적
HelloController 안에 @GetMapping("hello-string") @ResponseBody public String helloString(@RequestParam("name") String name) { return "hello" +name; } | @ResponseBody 의미 - @ResponseBody → 이것의 의미는 html에 나오는 body태그가 아니라, http에서 header부와 body가 있는데 body부의 내용을 직접내가 넣어주겠다라는 것이다. 위의 코드 중 return 코드 해석 public String helloString(@RequestParam("name") String name) { return "hello" +name; - 내가 만약 spring이라고 nam..
템플릿 엔진을 사용하여 웹브라우저에 입력한 값이 나오게끔 해보자. 먼저, 1. HelloController안에 Get매핑내용입력 @GetMapping("hello-mvc") public String helloMvc(@RequestParam(name = "name", required = false) String name, Model model) { model.addAttribute("name", name); return "hello-template"; } 그리고, 2. templates 안에 hello-template.html 만들기 아하! thymeleaf를 사용하면 1번의 값으로 2번을 치환하기 때문에 서버없이 보기 가능하다. 즉, 1번의 값으로 내용물이 바뀌게 된다. 실행하면 에러나옴 오류: para..
프로젝트 생성하려면 먼저 1. JAVA 11설치 2. IDE: IntelliJ 또는 Eclipse 설치 또는 spring 설치(이걸로 실행 진행) | 프로젝트 생성 https://spring.io/tools Spring Tools 4 is the next generation of Spring tooling Largely rebuilt from scratch, Spring Tools 4 provides world-class support for developing Spring-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Theia IDE. spring.io 압축을 풀면 만약 이 SpringToolSuite..