본문 바로가기

꾸준하게, 차근차근

검색하기
꾸준하게, 차근차근
프로필사진 jn4624

  • 분류 전체보기 (69)
    • Architecture (4)
    • Database (8)
    • Error (3)
    • Java (26)
    • JS&jQuery (6)
    • Linux (6)
    • Redis (11)
    • Spring (1)
    • Tomcat (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
Tags
  • for문
  • mysql
  • sftp
  • 자바
  • Java
  • Linux
  • architecture
  • 만들면서 배우는 클린 아키텍처
  • select
  • Entity Code 치환
  • redis + spring boot 함께
  • 정규식
  • Docker Compose
  • springboot+redis
  • 제이쿼리
  • catalina.out
  • 특수문자 치환
  • aws elasticache 활용
  • 리눅스
  • docker 컨테이너로 띄우기
  • 초단위
  • Stack
  • javascript
  • js
  • 자바스크립트
  • 톰캣
  • jQuery
  • 엔티티 코드 치환
  • insert
  • Tomcat
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록특수문자 치환 (1)

꾸준하게, 차근차근

[Java] 특수문자, Entity Code 치환(StringEscapeUtils 클래스 사용)

import org.apache.commons.lang3.StringEscapeUtils; public void changeHtml() { // 특수문자를 Entity Code로 치환 String str = "&&&&"; str = StringEscapeUtils.escapeHtml4(str); // Entity Code를 특수문자로 치환 String entityStr = "&&&&"; entityStr = StringEscapeUtils.unescapeHtml4(entityStr); } 🙏 참조 :: https://kudolove.tistory.com/m/1350 https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang..

Java 2021. 9. 11. 01:47
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바