Skip to content

Instantly share code, notes, and snippets.

View elvan's full-sized avatar

Elvan Hidayat elvan

View GitHub Profile
@darbyluv2code
darbyluv2code / CourseCode.java
Created June 29, 2017 21:44
Spring MVC Validation - FAQ: Is it possible to integrate multiple validation string in one annotation?
package com.luv2code.springdemo.mvc.validation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.validation.Constraint;
import javax.validation.Payload;