2016-03-25

한글[HWP] 메뉴바와 도구모음 사라지는 경우 대처법



1. HWP가 설치된 폴더에   HNC / Hwp60 / HncSetup.exe 를 실행합니다.
2. 한글 2004 기본 설정이 실행됩니다.
3. 한글 2004를 처음 실행 상태로 되돌림  을 클릭합니다
4. 완료를 클립합니다.
5. 정상 작동된 한글 2004를 확인


참조 URL ::   http://happyjung.com/bbs/board.php?bo_table=lecture&wr_id=660

2015-09-22

DataBase] Oracle 테이블에 대한 정보 조회 쿼리

-- 테이블에 대한 컬럼명, 컬럼 타입, 컬럼 길이, 코멘트 보는 쿼리.
SELECT T.TABLE_NAME, T.COLUMN_NAME, T.DATA_TYPE, T.DATA_LENGTH, C.COMMENTS
FROM ALL_TAB_COLUMNS T JOIN ALL_COL_COMMENTS C
    ON T.TABLE_NAME = C.TABLE_NAME
        AND T.COLUMN_NAME = C.COLUMN_NAME
WHERE T.TABLE_NAME = 'TABLE_NAME'
;

2015-06-15

Javascript ] 1000단위 comma(",") 관련 함수 및 숫자 판별 함수


참조 URL :: http://blog.munilive.com/javascript-comma-uncomma/


//콤마찍기
function comma(str) {
    str = String(str);
    return str.replace(/(\d)(?=(?:\d{3})+(?!\d))/g, '$1,');
}

//콤마풀기
function uncomma(str) {
    str = String(str);
    return str.replace(/[^\d]+/g, '');
}

//input box에서 사용자 입력시 바로 콤마를 찍어주기 위한 함수
function inputNumberFormat(obj) {
    obj.value = comma(uncomma(obj.value));
}


========================================================================

참조 URL :: http://mwultong.blogspot.com/2007/01/isnum-isnumeric-isnumber-javascript.html

// 입력 문자가 숫자인지 판별하는 함수
function isNumber(s) {
  s += ''; // 문자열로 변환
  s = s.replace(/^\s*|\s*$/g, ''); // 좌우 공백 제거
  if (s == '' || isNaN(s)) return false;
  return true;
}



위 comma 함수를 사용하여 input box 에 1000단위 콤마표시를 사용하면서 입력문자가 숫자인지 validation 을 하거나 숫자 연산이 필요한 경우 uncomma 함수를 사용하여 미리 "," 를 제거하고 연산작업을 수행해야 된다. 

2015-06-11

Java / Mybatis ] Mapped Statements collection does not contain value for XXX

Mapped Statements collection does not contain value for XXX 라는 오류가 뜨는 경우 원인은 다음과 같다.

1. MyBatis Config에 Mapper가 정의되어있지 않거나 철자를 틀리게 적은 경우
2. 같은 이름의 Namespace가 존재하는 경우
3. MyBatis Config에는 자신이 원하는대로 제대로 적었으나 해당 Mapper의 NameSpace에 다르게 적은 경우

위의 사항을 확인하기 바랍니다. 

2014-08-23

MiPlatform 동영상강좌 리스트(youtube 게재 리스트)

MiPlatform 동영상강좌 리스트입니다.  (Youtube)


[MiPlatform] Chapter1. RIA, X-Internet 및 MiPlatform 개요-1
http://www.youtube.com/watch?v=VilRxH9UgMg

[MiPlatform] Chapter2. 기본환경설정 
http://www.youtube.com/watch?v=2X4P_13AVk0

[MiPlatform] Chapter3. 기본화면 개발_base_hello 
http://www.youtube.com/watch?v=JrYbsgCYey8

[MiPlatform] Chapter3. 기본 화면개발-base_menu
http://www.youtube.com/watch?v=dQTEONETEP4

[MiPlatform] Chapter3. 기본 화면개발-base_sawon 1
http://www.youtube.com/watch?v=EBRBG-lItAE

[MiPlatform] Chapter3. 기본 화면개발-base_sawon 2
http://www.youtube.com/watch?v=T4sy_Vul64o

[MiPlatform] Chapter3. 기본 화면개발-base_sawon 3
http://www.youtube.com/watch?v=Ea9gDhjmUiM

[MiPlatform] Chapter3. 기본 화면개발-base_sawon 4
http://www.youtube.com/watch?v=OcrgAv4SLRs

[MiPlatform] Chapter3. 기본 화면개발-base_sawon 5
http://www.youtube.com/watch?v=5bZcqfTEsXM

[MiPlatform] Chapter3. 기본 화면개발-base_sawon 6
http://www.youtube.com/watch?v=0ks2_P4VsbM

[MiPlatform] Chapter3. 기본 화면개발-base_sawon 7
http://www.youtube.com/watch?v=00wcK7AnqGk

[MiPlatform] Chapter4. Service개발 및 화면연계(JSP,ASP) 1
http://www.youtube.com/watch?v=m1LJQUK6W5M

[MiPlatform] Chapter4. Service개발 및 화면연계(JSP,ASP) 2
http://www.youtube.com/watch?v=j84a9gXNc5U

[MiPlatform] Chapter4. Service개발 및 화면연계(JSP,ASP) 3
http://www.youtube.com/watch?v=K5nbv-DblbU

[MiPlatform] Chapter4. Service개발 및 화면연계(JSP,ASP) 4
http://www.youtube.com/watch?v=doil0t9SLNE

[MiPlatform] Chapter4. Service개발 및 화면연계(JSP,ASP) 5
http://www.youtube.com/watch?v=h3EdUWZ-Irc

[MiPlatform] Chapter5. 상세환경설정
http://www.youtube.com/watch?v=RtIzhn-ZNfg

[MiPlatform] Chapter6. Component별 주요기능(list)
http://www.youtube.com/watch?v=b4RbuIWsR3c

[MiPlatform] Chapter6. Component별 주요기능(image)
http://youtube.com/watch?v=88jSIlYdwPc

[MiPlatform] Chapter6. Component별 주요기능(division)
http://youtube.com/watch?v=XtVmzr7zQw8

[MiPlatform] Chapter6. Component별 주요기능(button)
http://youtube.com/watch?v=mf_A4OrmZ9k

[MiPlatform] Chapter6. Component별 주요기능(go)
http://www.youtube.com/watch?v=JycH1tTT1TQ

[MiPlatform] Chapter6. Component별 주요기능(maskedit)
http://www.youtube.com/watch?v=Szr1cYy1RbU

[MiPlatform] Chapter6. Component별 주요기능(edit)
http://www.youtube.com/watch?v=5vWH99zDXwQ

[MiPlatform] Chapter6. Component별 주요기능(check)
http://www.youtube.com/watch?v=NC7cglBY1jQ

[MiPlatform] Chapter6. Component별 주요기능(combo)
http://www.youtube.com/watch?v=S-3WTZPJZDo

[MiPlatform] Chapter6. Component별 주요기능(calendar)
http://www.youtube.com/watch?v=-Rv3Rcie-4A

[MiPlatform] Chapter7. 고급기능 및 Tip-1
http://www.youtube.com/watch?v=sD1OXJpKB2A

[MiPlatform] Chapter7. 고급기능 및 Tip-2
http://www.youtube.com/watch?v=lhUmfDUKN7w

[MiPlatform] Chapter7. 고급기능 및 Tip-3
http://www.youtube.com/watch?v=P40NncCVHP4

[MiPlatform] Chapter8. 운영
http://www.youtube.com/watch?v=U9NoxA0WbN4

[MiPlatform] Chapter9. Local DB연계
http://www.youtube.com/watch?v=nedEQsLVHbI

[MiPlatform] Dataset_처리
http://www.youtube.com/watch?v=Ih1hTOo2RpA

[MiPlatform] Dataset1
        http://www.youtube.com/watch?v=zpkaXBb_iUk

[MiPlatform] Dataset2
http://www.youtube.com/watch?v=ubuHWfjEyVg

[MiPlatform] Dataset3
http://www.youtube.com/watch?v=2aoz0YaWsfc

2014-03-14

[DB2]SQL0803N One or more ...SQLSTATE=23505 오류메시지 확인하기

참조URL : http://www.dbforums.com/db2/997011-sql0803n-one-more-sqlstate-23505-a.html


IBM DB2 사용시 아래와 같은 오류메시지를 만나는 경우 오류내용 확인하기
=================
unique constraint or unique index identified by "1" constrains table "schema.table_name" from having duplicate values for the index key..

SQLCODE=-803, SQLSTATE=23505

---
상단과 같은 메시지를 맞닥트리게 되는 경우 아래의 쿼리로 해당 내용을 확인하기 바람.

SELECT *
FROM SYSCAT.INDEXES
WHERE IID = 1
AND TABSCHEMA = 'schema'
AND TABNAME = 'table_name'
;

위의 쿼리결과의 COLNAMES, UNIQUERULE 컬럼의 내용을 확인한 뒤, 인덱스가 중복되는지 확인하는 쿼리를 사용하여 점검한다.

SELECT table_name의 컬럼들, count(*) as qty
from table_name
group by table_name의 컬럼들
having  count(*) > 1
order by qty
;

위의 쿼리 결과에서 나오는 값은 중복된 인덱스를 가진 결과값이므로 해당 데이터를 보정해야 된다.

2014-03-07

Spring MVC/ Tomcat] SpringFramework MVC 사용시 view -> controller 로 파라미터 전달시 한글이 깨지는 경우에 해결책.

문서작성 참고 : http://springmvc.egloos.com/513986

SpringFramework MVC 사용시 view -> controller 로 파라미터 전달시 한글이 깨지는 경우에 해결책.

1. HTTP - POST
   web.xml 에 CharacterEncodingFilter 를 추가한다.
    <filter>
        <filter-name>encodingFilter</filter-name>
        <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
        <init-param>
            <param-name>encoding</param-name>
            <param-value>UTF-8</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>encodingFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

2. HTTP - GET
Eclipse-tomcat 개발환경에서 한글이 깨지는 경우 tomcat의 server.xml 에 아래 항목에  URIEncoding="UTF-8" 를 추가한다.
*** 아래는 Tomcat 7.x 의 server.xml 기준.

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8"/>


<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/>