1 / 5

파워티어에서 한글처리

파워티어에서 한글처리. 파워티어 6.54 한글처리. 경우 1. 한글 Data 흐름도. Oracle 8i. PowerTier EJB. JSP. PowerTier JNI DB LIB. 8859_1. 8859_1. euc-kr. UTF8. KO16KSC5601. ( 변환 ). 한글 Data 흐름 별 문자 Encoding 종류. 환경설정 및 프로그램처리. JSP Source : <%@ page contentType ="text/html;charset=8859_1"%>

luann
Download Presentation

파워티어에서 한글처리

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 파워티어에서 한글처리

  2. 파워티어6.54 한글처리 • 경우 1 한글 Data 흐름도 Oracle 8i PowerTier EJB JSP PowerTier JNI DB LIB 8859_1 8859_1 euc-kr UTF8 KO16KSC5601 (변환) 한글 Data 흐름 별 문자 Encoding 종류 환경설정 및 프로그램처리 • JSP Source : <%@ page contentType ="text/html;charset=8859_1"%> • EJB Source : 8859_1 -> euc-kr, euc-kr -> 8859_1 프로그램에서 Encoding 필요 • 서버 기동 시 : ps-run-server 하기 전 “Set NLS_LANG=KOREAN_KOREA.UTF8”환경설정 함 • Ps-run-server 수정 : if /I "%HeapMgr%" == "on" set JAVAEXE=C:\jdk1.3.1_05\bin\java

  3. 경우 2 한글 Data 흐름도 밀엔진 Oracle 8i jspCompiler PowerTier JSP PowerTier JNI DB LIB UTF8 ecukr euckr 지원JDK euckr UTF8 KO16KSC5601 한글 Data 흐름 별 문자 Encoding 종류 환경설정 및 프로그램처리 • JSP Source : <%@ page contentType ="text/html;charset=euc-kr"%> • 주의) html에서 form method=post로 할 것 get으로 object를 받을 때는 한글 깨짐 • EJB Source : 프로그램에서 Encoding 할 필요 없음 • 서버 기동 시 : ps-run-server 하기 전 “Set NLS_LANG=KOREAN_KOREA.UTF8”환경설정 함 • Milladm –externalJre로 실행 • 아파치는 단독 실행 • Ps-run-server 수정 : if /I "%HeapMgr%" == "on" set JAVAEXE=C:\jdk1.3.1_05\bin\java

  4. 경우 2 환경설정 및 프로그램처리 • C:\PowerTier654\servletmill\millse\millse\Startup.cmd수정 • REM ----------------------------------------------------------- • REM Set MillSE variables below • REM ----------------------------------------------------------- • cd %HOME% • if "%1" == "no_mill_start" goto no_mill_start • mill_start %JAVAEXE% -Dfile.encoding=UTF-8 -classpath %CLASSPATH% %EXECFILE% %EXECOPTIONS% • goto end • :no_mill_start • %JAVAEXE% -Dfile.encoding=UTF-8 -classpath %CLASSPATH% %EXECFILE% %EXECOPTIONS% > %NAME%.out 2> %NAME%.err • goto end • 강조 글씨부분을 추가

  5. 경우 2 환경설정 및 프로그램처리 • C:\PowerTier654\servletmill\millse\millse\milldefault.proferties수정 • C:\PowerTier654\servletmill\ps-millse\ps-millse\milldefault.proferties수정(inprocess일경우) • ################################## • # Aliased Servlet Init Parameters • ################################## • servlet._milljsp.initArgs=jspCompilerPath=C:\jdk1.3.1_05\bin\javac.exe • servlet._milljsp.initArgs=compiler=C:\jdk1.3.1_05\bin\javac.exe -classpath C:\PowerTier654\servletmill\classes\jsp10.jar;C:\PowerTier654\tool\private\jre\lib\rt.jar;%classpath%;%scratchdir% -d %scratchdir% -deprecation %source% • 강조 글씨부분을 수정

More Related