본문 바로가기

java36

tag to another tag for java public class Test { public static String changeTag(String v, String a,String b) { v = v.replaceAll("(?i)(]*)?\\s*>)", "$1" + b + "$2"); return v; } public static void main(String[] args) { String v = ""; System.out.println("step0 : " + v); v = changeTag(v,"script","s.c.r.i.p.t"); System.out.println("step1 : " + v); v = changeTag(v,"img","i.m.g"); System.out.println("step2 : " + v); } } 2019. 9. 23.
escape html tag 원본 : https://okky.kr/article/209612 ${t} 2019. 8. 29.
자바 인증서 추가 - java keystore import 인증서 추가 keytool -keystore cacerts -importcert -alias lgcns -file ./추가할인증서.cer -storepass changeit 2019. 8. 23.
java.security.InvalidKeyException: Illegal key size exception "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for JDK/JRE Download" : Download 압축해제 : extract local_policy.jar, US_export_policy.jar 복사 : copy to %JAVA_HOME%/jre/lib/security 2019. 8. 22.
JPA DATA TO DTO TO JSON ( Modelmapper & lombock ) #### # 참고 - [http://wonwoo.ml/index.php/post/480](http://wonwoo.ml/index.php/post/480) - [https://docs.spring.io/spring-data/jpa/docs/1.4.1.RELEASE/reference/html/jpa.repositories.html](https://docs.spring.io/spring-data/jpa/docs/1.4.1.RELEASE/reference/html/jpa.repositories.html) - [https://github.com/Heo-Won-Chul/SpringPersonalProject](https://github.com/Heo-Won-Chul/SpringPersonalProject) - [.. 2019. 7. 20.
JAP intelli sence 자동 완성 기능 안될시. # JAP intelli sence 자동 완성 기능 안될시. 1. Project Structure (Ctrl+Alt+Shift+S) 2. Project Settings - Module + add JPA + JPA Configuration Descriptor persistence.xml + add Spring + add Web Web Resource Directories + add src/main/resource/static / + add src/main/retources/views /view 2019. 7. 18.