일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- maven
- JDBC
- 오픈소스
- Tomcat
- Spring Boot
- PostgreSQL
- JavaScript
- myBatis
- Eclipse
- MSSQL
- IntelliJ
- MySQL
- Docker
- AJAX
- SpringBoot
- git
- ubuntu
- Core Java
- Exception
- oracle
- Thymeleaf
- spring
- STS
- Open Source
- 문서
- Source
- jpa
- 설정
- Python
- error
- Today
- Total
목록전체 글 (684)
헤르메스 LIFE
/** * 현재 oracle 7 버전대는 unicode 1.2를 사용하고, * oracle 8.1.5 버전부터 unicode 2.0을 사용합니다. * 그리고 jdk1.2버전은 unicode 2.0을 사용하지요 * 그래서 oracle 8.1.5에서 읽어들인 한글은 보이지만, * 7버전에서 읽어들인 한글은 unicode 버전차이로 ?표로 표시됩니다. * 때문에 oracle 7버전에서 한글을 지원받으려면 * DB에서 read할때는 unicode 1.2를 2.0으로, DB로 write할때는 unicode 2.0을 1.2로 * conversion 해주는 class를 만들어서 import하여 사용하면 됩니다. * * UniCode 2.0 을 UniCode 1.2 로 변환 * @param uni20 변환할 문자 (U..
/** * Character Set를 ISO-8859-1로 컨버전 * @param str 변환할 문자 * @return String 변환문자 */ public String convISO(String str) { String tmp = new String(""); if(str==null||str.length()==0) return ""; try { tmp = new String(str.getBytes("EUC-KR"), "ISO-8859-1"); } catch (UnsupportedEncodingException uee) { log(CLASS_NAME + ".convISO()","Character Set변환을 실패했습니다."+uee.toString()); } catch (Exception e) { log(..
public class StringToUni { public static void main(String[] args) { String str = "아름다운"; StringBuffer strVal = new StringBuffer(); for(int i = 0; i < str.length();I++) { char c= str.charAt(i); strVal.append("\\u" + Integer.toHexString(c)); } System.out.println(strVal.toString()); // 결과 : \uc544\ub984\ub2e4\uc6b4 } }
import java.io.UnsupportedEncodingException; public class UniToString { public static void main(String[] args) { String hexStr = "\uc544\ub984\ub2e4\uc6b4"; String ls = null; try { ls = new String(hexStr.getBytes(), "UTF-8"); } catch(UnsupportedEncodingException e) { e.printStackTrace(); } System.out.println(ls); // 결과 : 아름다운 } }
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/classes/tims2-common.xml]: Cannot resolve reference to bean 'topFrameController' while setting bean property 'urlMap' with key [TypedStringValue: value [/topFrame.do], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreati..
1. MS-SQL JDBC 다운로드 http://www.microsoft.com/downloads/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9&displayLang=ko 2. sqljdbc.jar 와 sqljdbc4.jar 차이점 JAR 설명 sqljdbc.jar sqljdbc.jar 클래스 라이브러리는 JDBC 3.0을 지원합니다. sqljdbc.jar 클래스 라이브러리에는 JRE(Java Runtime Environment) 버전 5.0이 필요합니다. JRE 6.0에서 sqljdbc.jar을 사용하면 데이터베이스에 연결할 때 예외가 발생합니다. 참고: JDBC 드라이버 버전 2.0은 JRE 1.4를 지원하지 않습니다. JDBC 드라이버 버전..
원문 : http://dev.anyframejava.org/anyframe/doc/web/3.0.1/webfw/springmvc/basic/locale.html
문제는 Tomcat의 Startup.bat 실행 시 오류가 발생한다는데 있습니다. host-manager 폴더와 manager 폴더가 없다는 겁니다. Tomcat 5.5 버젼에서는 아래와 같은 오류가 발생하지 않았습니다. 6.x 버젼으로 버젼업되면서 뭔가가 달라졌다는 얘기인 듯 한데.. 문제만 있지 해결방법은 없더군요.. ㅡㅡ;; (우리의 Naver와 Google에도 OTL... 제가 영어가 짧아서 못 찾았을 수도 있습니다. ^^;;) 심각: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\AutoPlus\bin\Tomcat-6.0.29\ host-manager does not exist or is n..
1. 프로그램 다운로드 ( 현재 2010년 9월 17일) Apache 2.2.16 : http://httpd.apache.org/download.cgi#apache22 Tomcat 6.0.29 : http://tomcat.apache.org/download-60.cgi Tomcat Connectors JK 1.2.30 : http://ftp.apache-kr.org/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.30/ ※ Binary Releases 를 다운로드 합니다. JDK 1.6.0_21 : http://www.oracle.com/technetwork/java/javase/downloads/index.html 2. 설치 - 특별히 어렵지 않으므로 패스 ㅡㅡ..