일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ssh
- web.xml
- 단축키
- JavaScript
- VirtualBox
- bash
- copy-dependencies
- 네트워크
- resource
- import
- Windows
- GIT
- port
- find
- context
- grep
- maVen
- IntelliJ
- Source
- 공통표준용어
- netsh
- Eclipse
- lsof
- Windows 10
- tomcat
- Quartz
- DB 도메인
- profile
- xargs
- Mac
- Today
- Total
목록전체 글 (1649)
develog
MERGE INTO ATESTUSING DUALON (SEQ = 12)WHEN MATCHED THENUPDATE SETTITLE = 'UPDATE'WHEN NOT MATCHED THENINSERT (SEQ, TITLE)VALUES (12, 'INSERT')
try { // throw exception} catch (Exception e) { logger.error(e.getMessage(), e); throw new RuntimeException(e.getMessage());}
logger.error(e);-----------------------------------[2013-05-29 15:21:44] [ERROR] java.lang.RuntimeException: 에러! logger.error(e.getMessage());-----------------------------------[2013-05-29 15:22:10] [ERROR] 에러! logger.error(e, e);-----------------------------------[2013-05-29 15:22:35] [ERROR] java.lang.RuntimeException: 에러!java.lang.RuntimeException: 에러!at test.TestMaint2.cc(TestMaint2.java:51)..
PatternLayout patternLayout = new PatternLayout("[%d{yyyy-MM-dd HH:mm:ss}] [%-5p] %m%n"); ConsoleAppender consoleAppender = new ConsoleAppender(patternLayout); RollingFileAppender rollFileAppender = new RollingFileAppender(patternLayout, "log/rolling.log");rollFileAppender.setAppend(true);rollFileAppender.setMaxFileSize("2MB");rollFileAppender.setMaxBackupIndex(10); DailyRollingFileAppender dail..
import java.util.regex.Matcher;import java.util.regex.Pattern; public class TestMain { public static void main(String[] args) {System.out.println("START");System.out.println("-------------------------------------");String str = "본문 영역으로 바로가기";System.out.println("str : " + str);String regex = "";Pattern pattern = Pattern.compile(regex);Matcher matcher = pattern.matcher(str); String ret = null;whi..
code // remove style block str = str.replaceAll("",""); // remove script block str = str.replaceAll("",""); // remove html tag str = str.replaceAll("]*>",""); // remove html entity str = str.replaceAll("&[^;]+;",""); before 본문 영역으로 바로가기 after 본문 영역으로 바로가기