- 보통 id,pw값들을 검증할때에는 Client쪽에서 JS,JQuery를 사용해서 비밀번호 유효개수,공백,특수문자 등 기본 처리를 해주는데, 여기서 살펴볼것들은 Validator를 이용하여 Server쪽에서 넘어온 데이터값들을 검증해볼것이다. 1. Validator(interface)를 이용한 검증12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211..
1. RequestMapping Method(Get,Post Method)1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677처리 순서 1. Controller.java @RequestMapping("/index") public String goIndex(){ return "index"; } => /index경로로 요청이 들어오면 index.jsp 파일로 넘어가서 처리를 한다. 처리 순서 2. index.jsp student id : =>submit 을 누르면 -> /student로 이동한다 처리 순..
Ex) localhost:3000/board/write/confirmId?id=kgh&pw=1234 라고 클라이언트 측에서 요청을 하였을 경우 id,pw의 정보가 HttpServletRequest로 넘어오게 된다. 12345678910111213141516171819@RequestMapping("board/confirmId") public String confirmId(HttpServletRequest httpSetvletRequest,Model model){ String id = httpServletRequest.getParameter("id"); String pw = httpServletRequest.getparameter("pw"); model.addAttribute("identify",id); m..
- Total
- Today
- Yesterday
- 감자개발자
- node.js
- 백준알고리즘
- 개발하는 관광이
- C언어
- TensorFlow
- 감자코딩
- Android
- 알고리즘
- 리버싱
- Spring
- Controller
- C langauge
- Algorigm
- 백준
- 안드로이드
- db
- node
- 프로그래밍
- 코드엔진
- MVC
- programming
- 노드
- 복습
- 머신러닝
- 학교
- 스프링
- 초보자를 위한 C언어 300제
- 텐서플로우
- BFS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |