Validation in Spring Boot | BaeldungLearn how to validate domain objects in Spring Boot using Hibernate Validator, the reference implementation of the Bean Validation framework.www.baeldung.com A Simple Domain Class사용자를 모델링하는 JPA entity class 정의Bean Validation의 제약 조건을 사용하여 이름과 이메일 필드 제한@Entitypublic class User { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; ..
분류 전체보기
Getting Started | Validating Form InputThe application involves validating a user’s name and age, so you first need to create a class that backs the form used to create a person. The following listing (from src/main/java/com/example/validatingforminput/PersonForm.java) shows how to do so: pacspring.io 이번 애플리케이션 : 사용자의 이름과 나이를 검증하는 것이 목표 PersonForm 객체 생성 src/main/java/com/example/validatingformi..
Getting Started | Serving Web Content with Spring MVCStatic resources, including HTML and JavaScript and CSS, can be served from your Spring Boot application by dropping them into the right place in the source code. By default, Spring Boot serves static content from resources in the classpath at /static (orspring.io 할 거 요청 URL : http://localhost:8080/greeting이 URL에 대한 응답으로 "Hello, World!"라는 인사를 ..
Mapping Requests :: Spring FrameworkA reflected file download (RFD) attack is similar to XSS in that it relies on request input (for example, a query parameter and a URI variable) being reflected in the response. However, instead of inserting JavaScript into HTML, an RFD attack relies on thedocs.spring.io @RequestMapping요청을 컨트롤러 메서드에 매핑하는데 사용된다.URL, HTTP method, request parameters, headers, medi..

REST APIs Explained - 4 ComponentsHow web applications talk to servers: 1. Basic format; 2. HTTP verbs; 3. URL endpoints; 4. Status codes.mannhowie.com 기본 개념 REST API는 웹에서 정보를 얻고자 하는 클라이언트(사람 또는 애플리케이션)와 그 정보를 접근할 수 있는 서버(애플리케이션 또는 데이터베이스) 간에 가장 일반적으로 사용되는 표준이다.애플리케이션 프로그래밍 인터페이스(API)두 컴퓨터가 웹을 통해 서로 통신할 수 있는 방법배달 앱에서 자체적으로 위치 추적 시스템을 구축하는 대신 Google Maps API를 사용하여 위치 추적을 지원할 수 있다.RESTfulREST 표준을 ..
GetPage( name: '/main', page: () => const MainViewPage(), binding: MainBinding(), fullscreenDialog: true, transition: Transition.downToUp, popGesture: true), transition: Transition.downToUp만 적용하면 왼쪽에서 오른쪽으로 가다가 아래에서 올라와서 부자연스럽다 fullscreenDialog: true, popGesture: true 둘 다 써야한다.