<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>마이스타일</title>
    <link>https://hun4u.tistory.com/</link>
    <description>My Life is MyStyle~~</description>
    <language>ko</language>
    <pubDate>Wed, 15 Apr 2026 11:08:40 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>굿데이</managingEditor>
    <item>
      <title>건물 임대관리 솔루션 개발</title>
      <link>https://hun4u.tistory.com/63</link>
      <description>&lt;p&gt;상가건물 임대관리 솔루션을 개발했습니다.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;필요해서 개발했는데, 의외로 쓸만해서 소개해 봅니다.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. 모바일 / PC 완벽 지원&lt;/p&gt;
&lt;p&gt;휴대폰에서도 PC에서도 완벽하게 기능을 지원하도록 개발되었습니다.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. 웹솔루션으로 개발되어 세팅후에는 언제 어디서나 관리 가능&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. 임차인에게 월세납부 문자 발송기능&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. 임대정보 년/월/일 별 상황보고서 메일발송 기능&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5. 전/월세 뿐만 아니라 불규칙적인 계약도 관리 가능합니다.&lt;/p&gt;
&lt;p&gt;(예, 년세, N회 분납 등)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;6. 월별 통계화면을 통해 한눈에 수입지출을 확인 할 수 있습니다.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;자세한 문의사항은 dappeer@gmail.com 으로 문의 주세요.&lt;/p&gt;
&lt;p&gt;데모도 가능하니 문의 주시면 성실히 답변해 드리겠습니다.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;감사합니다.&lt;/p&gt;</description>
      <category>프로그래밍</category>
      <category>건물</category>
      <category>리눅스</category>
      <category>월세</category>
      <category>웹솔루션</category>
      <category>웹프로그램</category>
      <category>윈도우</category>
      <category>임대</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/63</guid>
      <comments>https://hun4u.tistory.com/63#entry63comment</comments>
      <pubDate>Sat, 17 Aug 2019 21:59:45 +0900</pubDate>
    </item>
    <item>
      <title>ASP.NET Core 2.2 Identity 사용자페이지 간단히 추가하기</title>
      <link>https://hun4u.tistory.com/59</link>
      <description>&lt;p&gt;1. NuGet에서&amp;nbsp;&lt;span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Microsoft.AspnetCore.Identity.UI 패키지를 추가한다.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. 솔루션탐색기 -&amp;gt;&amp;nbsp; 추가 -&amp;gt; 스캐폴드 항목 추가&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. ID 선택 후 추가&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock floatLeft&quot; width=&quot;602&quot; height=&quot;421&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/kRt6b/btqvkysqthS/VBIIAvIv4MPklhfwjNLZWk/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/kRt6b/btqvkysqthS/VBIIAvIv4MPklhfwjNLZWk/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/kRt6b/btqvkysqthS/VBIIAvIv4MPklhfwjNLZWk/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FkRt6b%2FbtqvkysqthS%2FVBIIAvIv4MPklhfwjNLZWk%2Fimg.png&quot; width=&quot;602&quot; height=&quot;421&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. 만들고 싶은 Custom 페이지 선택 후 추가&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock floatLeft&quot; width=&quot;601&quot; height=&quot;522&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/bH7mPG/btqvhuSeOpE/K2oIdYi4MHuAwowuW8TRu1/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/bH7mPG/btqvhuSeOpE/K2oIdYi4MHuAwowuW8TRu1/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/bH7mPG/btqvhuSeOpE/K2oIdYi4MHuAwowuW8TRu1/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbH7mPG%2FbtqvhuSeOpE%2FK2oIdYi4MHuAwowuW8TRu1%2Fimg.png&quot; width=&quot;601&quot; height=&quot;522&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;참고사이트&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://csharp.christiannagel.com/2018/07/18/identitypages/&quot;&gt;https://csharp.christiannagel.com/2018/07/18/identitypages/&lt;/a&gt;&lt;/p&gt;</description>
      <category>ASP.NET</category>
      <category>core</category>
      <category>Custom</category>
      <category>Identity</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/59</guid>
      <comments>https://hun4u.tistory.com/59#entry59comment</comments>
      <pubDate>Wed, 15 May 2019 02:43:42 +0900</pubDate>
    </item>
    <item>
      <title>ASP.NET Core  EF  기존DB가 있을경우 리버스엔지니어링 방법</title>
      <link>https://hun4u.tistory.com/57</link>
      <description>&lt;p&gt;&lt;br /&gt;1.대상전체 &lt;br /&gt;&amp;nbsp;-&amp;nbsp;Scaffold-DbContext&amp;nbsp;&quot;Server=(localdb)\SQLEXPRESS;Database=dbname;Trusted_Connection=True;&quot;&amp;nbsp;Microsoft.EntityFrameworkCore.SqlServer&amp;nbsp;-OutputDir&amp;nbsp;Models &lt;br /&gt;&lt;br /&gt;2.특정테이블 &lt;br /&gt;&amp;nbsp;-&amp;nbsp;Scaffold-DbContext&amp;nbsp;&quot;Server=(localdb)\SQLEXPRESS;Database=&lt;span style=&quot;color: #333333;&quot;&gt;dbname&lt;/span&gt;;Trusted_Connection=True;&quot;&amp;nbsp;Microsoft.EntityFrameworkCore.SqlServer&amp;nbsp;-OutputDir&amp;nbsp;Models&amp;nbsp;-Tables&amp;nbsp;&quot;BuildingDetail&quot;&amp;nbsp;-ContextDir&amp;nbsp;Context&amp;nbsp;-Context&amp;nbsp;RentalContext &lt;br /&gt;&amp;nbsp; &lt;/p&gt;</description>
      <category>프로그래밍/ASP.NET</category>
      <category>ASP.NET</category>
      <category>core</category>
      <category>리버스엔지니어링</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/57</guid>
      <comments>https://hun4u.tistory.com/57#entry57comment</comments>
      <pubDate>Tue, 14 May 2019 23:23:55 +0900</pubDate>
    </item>
    <item>
      <title>ASP.NET Core 2.2 Linux Docker 배포 방법</title>
      <link>https://hun4u.tistory.com/56</link>
      <description>&lt;p&gt;1.&amp;nbsp;이미지&amp;nbsp;확인 &lt;br /&gt;docker&amp;nbsp;images &lt;br /&gt;&lt;br /&gt;2.&amp;nbsp;none&amp;nbsp;이미지&amp;nbsp;삭제 &lt;br /&gt;docker&amp;nbsp;image&amp;nbsp;prune&amp;nbsp;-f &lt;br /&gt;&lt;br /&gt;3.&amp;nbsp;이미지&amp;nbsp;리스트중&amp;nbsp;선택&amp;nbsp;삭제 &lt;br /&gt;docker&amp;nbsp;rmi&amp;nbsp;-f&amp;nbsp;이미지번호 &lt;br /&gt;&lt;br /&gt;4.&amp;nbsp;이미지&amp;nbsp;실제&amp;nbsp;Temp폴더에&amp;nbsp;저장 &lt;br /&gt;docker&amp;nbsp;save&amp;nbsp;-o&amp;nbsp;c:\temp\&lt;a href=&quot;netcore_app.img&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;netcore_app.img&lt;/a&gt;&amp;nbsp;netcore_app &lt;br /&gt;&lt;br /&gt;5.&amp;nbsp;이미지&amp;nbsp;리눅스서버에 카피 &lt;br /&gt;robocopy&amp;nbsp;c:\temp&amp;nbsp;\\nas_server\docker&amp;nbsp;&lt;a href=&quot;netcore_app.img&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;netcore_app.img&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description>
      <category>프로그래밍/ASP.NET</category>
      <category>ASP.NET</category>
      <category>core</category>
      <category>docker</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/56</guid>
      <comments>https://hun4u.tistory.com/56#entry56comment</comments>
      <pubDate>Tue, 14 May 2019 23:21:42 +0900</pubDate>
    </item>
    <item>
      <title>WCF를 이용한 대용량 데이터 전송 기법</title>
      <link>https://hun4u.tistory.com/47</link>
      <description>&lt;DIV id=imghtml&gt;
&lt;TABLE border=0 cellSpacing=0 cellPadding=0 width=330 align=center&gt;
&lt;TBODY&gt;
&lt;TR height=30&gt;
&lt;TD align=middle&gt;&lt;A href=&quot;http://www.moazine.com/user/sviewer.asp?sid=38&amp;amp;articleid=vUP1B1nRAKU3tMdrA49iibD3&quot; target=_blank&gt;&lt;FONT style=&quot;LINE-HEIGHT: 16px; COLOR: #0000ff; FONT-SIZE: 14px&quot;&gt;&lt;U&gt;&lt;B&gt;마이크로소프트웨어&lt;/B&gt; 마이크로소프트웨어 2008년 02월호&lt;/U&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD align=middle&gt;[ &lt;B&gt;INSIDE DEVELOPER｜WCF를 이용한 대용량 데이터 전송 기법 / 유경상&lt;/B&gt; ]&lt;br /&gt;
&lt;br /&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD align=middle&gt;&lt;A href=&quot;http://www.moazine.com/user/sviewer.asp?sid=38&amp;amp;articleid=vUP1B1nRAKU3tMdrA49iibD3&quot; target=_blank&gt;&lt;IMG border=0 src=&quot;http://image.moazine.com/Acover/000119/0000230610.jpg&quot; width=207 height=267&gt;&lt;/A&gt; &lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD align=middle&gt;&lt;br /&gt;
&lt;FONT style=&quot;LINE-HEIGHT: 14px; COLOR: #cc3300; FONT-SIZE: 12px&quot;&gt;Powered by '&lt;B&gt;http://www.moazine.com&lt;/B&gt;' &lt;/FONT&gt;&lt;br /&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;TABLE id=divtable border=0 cellSpacing=0 cellPadding=0 width=&quot;100%&quot;&gt;
&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;</description>
      <category>프로그래밍/C#</category>
      <category>wcf</category>
      <category>대용량데이터</category>
      <category>전송</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/47</guid>
      <comments>https://hun4u.tistory.com/47#entry47comment</comments>
      <pubDate>Fri, 11 Mar 2011 14:57:42 +0900</pubDate>
    </item>
    <item>
      <title>AjaxPlorer3.2 설치형 웹하드와 사이트 계정 연동</title>
      <link>https://hun4u.tistory.com/46</link>
      <description>&lt;P&gt;1. conf.php파일 수정&lt;br /&gt;
파일경로: ajaxplorer/server/conf/conf.php&lt;br /&gt;
수정내용: AUTH_DRIVER(116라인)의 내용을 아래 내용으로 대체한다.&lt;br /&gt;
==============================================================================&lt;br /&gt;
&quot;AUTH_DRIVER&quot; =&amp;gt; array(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&quot;NAME&quot;&amp;nbsp;&amp;nbsp;=&amp;gt; &quot;remote&quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&quot;OPTIONS&quot;&amp;nbsp;=&amp;gt; array(&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;SLAVE_MODE&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; true,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;USERS_FILEPATH&quot;&amp;nbsp;&amp;nbsp;=&amp;gt; &quot;AJXP_INSTALL_PATH/server/users/users.ser&quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;LOGIN_URL&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; &quot;/your_cms/login.php&quot;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //로그인이 안되어 있을때 이동할&amp;nbsp;페이지&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;LOGOUT_URL&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; &quot;/your_cms/homepage.php&quot;,&amp;nbsp; //로그아웃시 이동할 페이지&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;SECRET&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;gt; &quot;myprivatesecret&quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&quot;TRANSMIT_CLEAR_PASS&quot;&amp;nbsp;=&amp;gt; false)&lt;br /&gt;
&amp;nbsp;),&lt;br /&gt;
==============================================================================&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
2. 실제 사이트 계정과 연동&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 1) 로그인 연동&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 로그인후 ajaxplorer경로로 이동시키기 전에 아래 페이지를 거져 이동시키도록 수정한다.&lt;br /&gt;
==============================================================================&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
// Here the PHP code for handling the form and the HTML code&lt;br /&gt;
// for displaying it are in the same file &quot;login.php&quot;&lt;br /&gt;
// but it's not necessary!&lt;br /&gt;
//POST방식으로 아이디와 비밀번호를 넘겨받는다&lt;br /&gt;
if(isSet($_POST[&quot;login&quot;]) &amp;amp;&amp;amp; isSEt($_POST[&quot;password&quot;])){&lt;br /&gt;
&lt;br /&gt;// Necessary to make &quot;connection&quot; with the glueCode&lt;br /&gt;
define(&quot;AJXP_EXEC&quot;, true);&lt;br /&gt;
&lt;br /&gt;//ajaxplorer의 glueCode.php파일이 있는 절대 경로&lt;br /&gt;
$glueCode = &quot;absolute/path/to/ajxp/plugins/auth.remote/glueCode.php&quot;;&lt;br /&gt;
&lt;br /&gt;//conf.php 파일의 SECRET 변수값과 동일해야 된다.&lt;br /&gt;
$secret = &quot;myprivatesecret&quot;;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;// Initialize the &quot;parameters holder&quot;&lt;br /&gt;
global $AJXP_GLUE_GLOBALS;&lt;br /&gt;
$AJXP_GLUE_GLOBALS = array();&lt;br /&gt;
$AJXP_GLUE_GLOBALS[&quot;secret&quot;] = $secret;&lt;br /&gt;
&lt;br /&gt;//login, logout, addUser, delUser, updateUser 옵션을 사용할수 있다.&lt;br /&gt;
$AJXP_GLUE_GLOBALS[&quot;plugInAction&quot;] = &quot;&lt;STRONG&gt;login&lt;/STRONG&gt;&quot;;&lt;br /&gt;
&lt;br /&gt;//true로 변경시 ajaxplorer에 계정이 없을경우 자동으로 계정생성해준다.&lt;br /&gt;
$AJXP_GLUE_GLOBALS[&quot;autoCreate&quot;] = false;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;// NOTE THE md5() call on the password field.&lt;br /&gt;
$AJXP_GLUE_GLOBALS[&quot;login&quot;] = array(&quot;name&quot; =&amp;gt; $_POST[&quot;login&quot;], &quot;password&quot; =&amp;gt; md5($_POST[&quot;password&quot;]));&lt;br /&gt;
&lt;br /&gt;// NOW call glueCode!&lt;br /&gt;
&amp;nbsp;&amp;nbsp; include($glueCode);&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
==============================================================================&lt;br /&gt;
&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2) 로그아웃 연동&lt;br /&gt;
==============================================================================&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
// Necessary to make &quot;connection&quot; with the glueCode&lt;br /&gt;
define(&quot;AJXP_EXEC&quot;, true);&lt;br /&gt;
&lt;br /&gt;//ajaxplorer의 glueCode.php파일이 있는 절대 경로&lt;br /&gt;
$glueCode = &quot;absolute/path/to/ajxp/plugins/auth.remote/glueCode.php&quot;;&lt;br /&gt;
&lt;br /&gt;//conf.php 파일의 SECRET 변수값과 동일해야 된다.&lt;br /&gt;
$secret = &quot;myprivatesecret&quot;;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;// Initialize the &quot;parameters holder&quot;&lt;br /&gt;
global $AJXP_GLUE_GLOBALS;&lt;br /&gt;
$AJXP_GLUE_GLOBALS = array();&lt;br /&gt;
$AJXP_GLUE_GLOBALS[&quot;secret&quot;] = $secret;&lt;br /&gt;
&lt;br /&gt;//login, logout, addUser, delUser, updateUser 옵션을 사용할수 있다.&lt;br /&gt;
$AJXP_GLUE_GLOBALS[&quot;plugInAction&quot;] = &quot;&lt;STRONG&gt;logout&lt;/STRONG&gt;&quot;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;// NOW call glueCode!&lt;br /&gt;
include($glueCode);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
==============================================================================&lt;br /&gt;
&lt;br /&gt;그외에 웹하드에 사용자추가(addUser), 사용자삭제(delUser), 비밀번호수정(updateUser)등을 연동할수 있다.&lt;br /&gt;
&lt;br /&gt;테스트 사이트 주소는 다음과 같습니다.(계정은 제가 임의로 입력해 놓았습니다)&lt;br /&gt;
&lt;A href=&quot;http://www.story4u.pe.kr/test.php&quot;&gt;&lt;A title=&quot;[http://www.story4u.pe.kr/test.php]로 이동합니다.&quot; href=&quot;http://www.story4u.pe.kr/test.php&quot; target=_blank&gt;http://www.story4u.pe.kr/test.php&lt;/A&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;ps.테스트 사이트에 적용된 소스를 첨부파일로 올려놓겠습니다.&lt;br /&gt;
test.php(로그인 페이지)&lt;br /&gt;
test2.php(로그아웃 페이지)&lt;br /&gt;
conf.php(ajaxplorer conf파일, 기존파일에 덮어쓰기 하셔도 됩니다)&lt;br /&gt;
&lt;div class=&quot;imageblock &quot; style=&quot;display:inline;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/1539D4564D3F8B2714&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/unknown.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;conf.php&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;imageblock &quot; style=&quot;display:inline;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/1351AD464D3F8DFE01&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/unknown.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;test.php&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;imageblock &quot; style=&quot;display:inline;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/18375E564D3F8B171A&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/unknown.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;test2.php&lt;/a&gt;&lt;/div&gt;
&lt;/P&gt;</description>
      <category>스토리지(NAS)</category>
      <category>Ajaxplorer</category>
      <category>설치형 웹하드</category>
      <category>웹하드</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/46</guid>
      <comments>https://hun4u.tistory.com/46#entry46comment</comments>
      <pubDate>Wed, 26 Jan 2011 11:13:52 +0900</pubDate>
    </item>
    <item>
      <title>MySQL과 Java, JSP 연동시 한글 인코딩 방법 [UTF-8]</title>
      <link>https://hun4u.tistory.com/45</link>
      <description>&lt;P&gt;최근에 Connection Pool 연동에 이어서 CharacterSet 설정까지 몇 일 동안 삽질의 연속이었습니다.&lt;/P&gt;
&lt;P&gt;정말 오랜만에 프로그래밍 공부를 하면서 좌절을 맛본거 같네요.&amp;nbsp;아... 멀고도 험난한 Web Programming의 길 ㅠ.ㅜ;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;어쨌든 저와 같이 헤매는 사람이 더 이상 나오지 않기를 바라며 이렇게 글을 씁니다.&lt;/P&gt;
&lt;P&gt;최대한 이해하기 쉽게 자세히 순차적으로 설명하였으니 분명히 도움이 되시리라 생각됩니다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;그럼, 시작합니다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 9pt&quot;&gt;&lt;EM&gt;&lt;FONT color=#0075c8&gt;본 강좌는 UTF-8 인코딩 설정으로 쓰여졌고, 다른 인코딩 설정 방법 또한 아래의 설명들과 다를 것이 없음도 알려드립니다.&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#3a32c3&gt;1. MySQL의 CharacterSet을 UTF-8로 설정하기&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;MySQL 설치시 Character Set / Collation을 utf8로 설정한다.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;만약에 설치가 되어있다면 MySQL Server Instance Config Wizard에서 다시 설정할 수 있다.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class=&quot;imageblock left&quot; style=&quot;float: left; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/1568184A4D195AF40D&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F1568184A4D195AF40D&quot; width=&quot;504&quot; height=&quot;386&quot; alt=&quot;&quot; filename=&quot;1357222697_seogi1004.png&quot; filemime=&quot;image/png&quot;/&gt;&lt;/div&gt;
&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style=&quot;FONT-SIZE: 8pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 8pt&quot;&gt;[그림]&amp;nbsp;Character Set&amp;nbsp;설정 옵션 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;설정 후 MySQL Query에서 &lt;STRONG&gt;show variables like 'c%' &lt;/STRONG&gt;를 입력하면 아래와 같은 화면이 출력 된다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;div class=&quot;imageblock left&quot; style=&quot;float: left; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/1667644A4D195B040F&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F1667644A4D195B040F&quot; width=&quot;511&quot; height=&quot;172&quot; alt=&quot;&quot; filename=&quot;1169537615_seogi1004.gif&quot; filemime=&quot;image/gif&quot;/&gt;&lt;/div&gt;
&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#3a32c3&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;2. 톰캣의 세팅을 UTF-8로 바꾸기&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;톰캣의 conf라는 폴더를 보면 server.xml과 server-minimal.xml 이란 파일을 볼 수 있다. 텍스트 에디터로 열어서 &amp;lt;connector...&amp;gt;라는 항목을 찾아 다음과 같이 설정하자.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE style=&quot;MARGIN-RIGHT: 0px&quot; dir=ltr&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;server.xml&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;lt;Connector port=&quot;8080&quot; maxHttpHeaderSize=&quot;8192&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; maxThreads=&quot;150&quot; minSpareThreads=&quot;25&quot; maxSpareThreads=&quot;75&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; enableLookups=&quot;false&quot; redirectPort=&quot;8443&quot; acceptCount=&quot;100&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionTimeout=&quot;20000&quot; disableUploadTimeout=&quot;true&quot; &lt;FONT color=#ff0000&gt;&lt;SPAN&gt;URIEncoding=&quot;UTF-8&quot;&lt;/SPAN&gt;&lt;/FONT&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;server-minimal.xml&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;lt;Connector port=&quot;8080&quot; &lt;FONT color=#ff0000&gt;&lt;SPAN&gt;URIEncoding=&quot;UTF-8&quot;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;server-minimal.xml이 존재하지 않거나 server.xml만 바꾸었을때 제대로 동작하면 server-minimal.xml은 세팅할 필요 없다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;이 세팅은 웹페이지의 URL에서 문자열을 읽어올 때 서버가 처리하는 URL의 인코딩 타입을 변경하는 것이다. Internet Explorer에서 &quot;URL을 항상 UTF-8로 보냄&quot;이 켜져 있으면 브라우저는 서버에&amp;nbsp;UTF-8로 보낸다. 이를 서버에서 읽어들일때 UTF-8이 세팅되어 있어야 하는 것이다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;이제 기본 세팅과의 차이점을 보자.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;페이지 설정과 POST방식으로 전송된 데이터의 처리는 그대로 두어도 좋다. 서버를 UTF-8로 세팅한 만큼 가급적 UTF-8의 방식으로 페이지 설정을 하자.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;GET방식으로 전송된 데이터의 처리는, 다음 항목이 필요가 없어진다. 당연하다. 있으면 오히려 에러가 발생할 것이다.&amp;nbsp;앞부분에 주석처리를 해버리자.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;
&lt;BLOCKQUOTE style=&quot;MARGIN-RIGHT: 0px&quot; dir=ltr&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;request.setCharacterEncoding(&quot;UTF-8&quot;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRIKE&gt;//String data = new String(request.getParameter(&quot;data&quot;).getBytes(&quot;8859_1&quot;),&quot;UTF-8&quot;);&lt;/STRIKE&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;//Latin-1(8859_1)로 읽어들인 데이터를 다시 UTF-8로 재해석하는 코드&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;한글 파일의 전송은 다음과 같이 처리한다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE style=&quot;MARGIN-RIGHT: 0px&quot; dir=ltr&gt;
&lt;P dir=ltr align=left&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;lt;a href = &quot;http://[server]:[port]/[folder]/&amp;lt;%= java.net.URLEncoder.encode( &quot;한글파일.html&quot; , &amp;nbsp;&quot;UTF-8&quot; )%&amp;gt;&quot;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;한글파일 링크&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;이렇게 하면 URLEncoder에 의해서 %xx%xx 형식의 UTF-8로 인코딩된 URL코드가 링크될 것이다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;그외에 Internet Explorer에서는 “URL을 항상 UTF-8로 보냄”이 기본 체크 되어있으므로 주소창에 한글을 직접 써도 서버에서 알아서 처리해준다. 물론 저 항목을 끄면 또 에러 발생..&amp;nbsp;(FireFox에서는 OS에 따라 MS949로 보낼 수도 있으므로 주의하자.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#3a32c3&gt;3. 개발 툴에서 인코딩 방식을 변경한다.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class=&quot;imageblock left&quot; style=&quot;float: left; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/111E214B4D195B8B11&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F111E214B4D195B8B11&quot; width=&quot;511&quot; height=&quot;137&quot; alt=&quot;&quot; filename=&quot;edit2bsaveas_metalliza_seogi1004.gif&quot; filemime=&quot;image/gif&quot;/&gt;&lt;/div&gt;
&lt;/P&gt;
&lt;P align=center&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style=&quot;FONT-SIZE: 8pt&quot;&gt;[그림] EditPlus에서의 저장 인코딩 옵션 &lt;/SPAN&gt;
&lt;DIV class=autosourcing-stub-saved&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class=&quot;imageblock left&quot; style=&quot;float: left; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/151B534B4D195B9614&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F151B534B4D195B9614&quot; width=&quot;511&quot; height=&quot;425&quot; alt=&quot;&quot; filename=&quot;eclipsepreference_metalliza_seogi1004.gif&quot; filemime=&quot;image/gif&quot;/&gt;&lt;/div&gt;
&lt;/P&gt;
&lt;P align=center&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style=&quot;FONT-SIZE: 8pt&quot;&gt;&amp;nbsp;&amp;nbsp; [그림] Eclipse에서 인코딩 세팅화면 &lt;/SPAN&gt;
&lt;DIV class=autosourcing-stub-saved&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#3a32c3&gt;4. 작업 문서에서의 설정&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;①&amp;nbsp;페이지 설정&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;UTF-8을 쓰고자 하는 경우 *.html, *.htm, *.jsp 파일은 UTF-8 형식으로 저장한다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;EUC-KR, MS949는 ANSI, MS949등의 기본 형식으로 저장하면 된다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;모든 HTML, JSP에는 아래와 같은 META태그를 넣을 것을 권장한다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE style=&quot;MARGIN-RIGHT: 0px&quot; dir=ltr&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;lt;META HTTP-EQUIV=&quot;contentType&quot; CONTENT=&quot;text/html;charset=UTF-8&quot;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;lt;!--EUC-KR인 경우 UTF-8을 EUC-KR로 바꾼다--&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;JSP에서는 페이지 상단에 page 지시자를 다음과 같이 넣는다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE style=&quot;MARGIN-RIGHT: 0px&quot; dir=ltr&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;lt;%@ page contentType=&quot;text/html;charset=UTF-8&quot; %&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&amp;lt;!--EUC-KR인 경우 UTF-8을 EUC-KR로 바꾼다--&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;②&amp;nbsp;POST 방식의 데이터 전송&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;POST방식으로 전송된 데이터는 UTF-8이든, EUC-KR이든 다음과 같은 라인을 추가하면 해결 된다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE style=&quot;MARGIN-RIGHT: 0px&quot; dir=ltr&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 돋움; FONT-SIZE: 10pt&quot;&gt;&lt;SPAN&gt;request.setCharacterEncoding(&quot;UTF-8&quot;); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 돋움; FONT-SIZE: 10pt&quot;&gt;&lt;SPAN&gt;&lt;/SPAN&gt;//EUC-KR인 경우 UTF-8을 EUC-KR로 바꾼다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;③ GET 방식의 데이터 전송&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;GET방식으로 전송된 데이터는&amp;nbsp;URL을 통해 전송되기 때문에 위의 방식으론 쓸 수 없다. URL에서의 데이터를 Latin-1(8859_1)인코딩으로 서버에서 처리하기 때문이다. 이를 톰캣의 버그라고 단정짓는 일부 서적의 말은 잘못된것이다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;불러온 데이터를 아래와 같이 처리해 주어야 한다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE style=&quot;MARGIN-RIGHT: 0px&quot; dir=ltr&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;request.setCharacterEncoding(&quot;UTF-8&quot;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;String data = new String(request.getParameter(&quot;data&quot;).getBytes(&quot;8859_1&quot;),&quot;UTF-8&quot;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;//Latin-1(8859_1)로 읽어들인 데이터를 다시 UTF-8로 재해석하는 코드&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;//EUC-KR인 경우&amp;nbsp; UTF-8을 EUC-KR로 바꾼다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;④&amp;nbsp;한글&amp;nbsp;파일 전송&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;Latin-1(8859_1)로 세팅된 톰캣 서버에서는 URL을 무조건 영어로 처리하므로 한글 파일은 절대로 읽어들일 수 없다. 파일을 영어로 바꾸어 저장하거나, 한글 파일을 영어로 바꾸는 처리를 해주어야 한다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;⑤&amp;nbsp;DB URL의 인코딩&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;jdbc:mysql://localhost:3306/DB명&lt;FONT color=#ff0000&gt;?useUnicode=true&amp;amp;characterEncoding=utf8&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ Java&amp;nbsp;또는 JSP ]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;jdbc:mysql://localhost:3306/DB명&lt;FONT color=#ff0000&gt;?useUnicode=true&amp;amp;amp;characterEncoding=utf8&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;nbsp;XML&amp;nbsp;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 8pt&quot;&gt;XML 문서에서는 기호 ('&amp;amp;')를 표시할 때 &amp;amp;amp;를 사용하기 때문에 일반 코드와 다르다.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 돋움; FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#7d7d7d&gt;Java와 JSP의 MySQL 연동시 한글 인코딩 방법은 매우 까다롭습니다. &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 돋움; FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#7d7d7d&gt;그렇기 때문에 위에 제시된 내용 중 하나라도 빠뜨리신다면 실행이 제대로 안되실 수도 있습니다.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 돋움; FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#7d7d7d&gt;저 역시 이런저런 방법을 써봐도 제대로 한글 인코딩이 되지 않아서 고생했었답니다.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#7d7d7d&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 돋움; FONT-SIZE: 10pt&quot;&gt;&lt;STRONG&gt;&lt;FONT color=#7d7d7d&gt;조금이나마 도움이 되었기를 바라며 이상으로&amp;nbsp;글을 마치겠습니다.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT color=#7d7d7d size=2&gt;&lt;STRONG&gt;출처: &lt;/STRONG&gt;&lt;A class=link1 href=&quot;http://blog.naver.com/seogi1004/110045319589&quot; target=_top&gt;&lt;U&gt;&lt;FONT color=#800080&gt;http://blog.naver.com/seogi1004/110045319589&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;br /&gt;</description>
      <category>프로그래밍/자바</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/45</guid>
      <comments>https://hun4u.tistory.com/45#entry45comment</comments>
      <pubDate>Tue, 28 Dec 2010 12:38:59 +0900</pubDate>
    </item>
    <item>
      <title>JBoss Tip</title>
      <link>https://hun4u.tistory.com/42</link>
      <description>&lt;br /&gt;

&lt;DIV style=&quot;FONT-FAMILY: 954102_10; FONT-SIZE: 10pt&quot; class=view&gt;
&lt;DIV style=&quot;BORDER-BOTTOM: tan 1px solid; BORDER-LEFT: tan 1px solid; PADDING-BOTTOM: 0px; BACKGROUND-COLOR: rgb(255,255,250); PADDING-LEFT: 10px; PADDING-RIGHT: 10px; BORDER-TOP: tan 1px solid; BORDER-RIGHT: tan 1px solid; PADDING-TOP: 2px&quot; id=toc&gt;
&lt;P&gt;&lt;STRONG&gt;목차&lt;/STRONG&gt;&lt;/P&gt;
&lt;HR&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_0 href=&quot;http://alexk.springnote.com/pages/2975760#toc_0&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;jboss 툴 + eclipse&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_1 href=&quot;http://alexk.springnote.com/pages/2975760#toc_1&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;jboss 주요 키워드&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_2 href=&quot;http://alexk.springnote.com/pages/2975760#toc_2&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;클래스 로딩에 대한 상세 로깅하기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_3 href=&quot;http://alexk.springnote.com/pages/2975760#toc_3&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;tomcat(jboss-web) 한글 설정하기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_4 href=&quot;http://alexk.springnote.com/pages/2975760#toc_4&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;server.xml 수정(get으로 전달되는 메시지의 한글 깨짐 해결)&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_5 href=&quot;http://alexk.springnote.com/pages/2975760#toc_5&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;filter 사용(post로 전달되는 &amp;amp; 결과로 전달되는 reponse 메시지의 한글 깨짐 해결)&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_6 href=&quot;http://alexk.springnote.com/pages/2975760#toc_6&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;웹서비스 시 호스트 주소 설정&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_7 href=&quot;http://alexk.springnote.com/pages/2975760#toc_7&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;JVM 옵션 설정&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_8 href=&quot;http://alexk.springnote.com/pages/2975760#toc_8&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;EJB 3.0 개발&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_9 href=&quot;http://alexk.springnote.com/pages/2975760#toc_9&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;jboss rmi 서버 설정&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_10 href=&quot;http://alexk.springnote.com/pages/2975760#toc_10&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;hosts 파일 변경&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_11 href=&quot;http://alexk.springnote.com/pages/2975760#toc_11&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;서버 구동시 binding 네임 변경&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_12 href=&quot;http://alexk.springnote.com/pages/2975760#toc_12&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;명시적으로 rmi서버 이름 설정하기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_13 href=&quot;http://alexk.springnote.com/pages/2975760#toc_13&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;데몬 띄우기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_14 href=&quot;http://alexk.springnote.com/pages/2975760#toc_14&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;기본 서비스 인증 추가하기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_15 href=&quot;http://alexk.springnote.com/pages/2975760#toc_15&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;mysql 접속시 -ds.xml 설정&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_16 href=&quot;http://alexk.springnote.com/pages/2975760#toc_16&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;oracle 접속시 -ds.xml 설정&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_17 href=&quot;http://alexk.springnote.com/pages/2975760#toc_17&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;context-root 패스 변경하기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_18 href=&quot;http://alexk.springnote.com/pages/2975760#toc_18&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;내가 추가한 war에 특정 url할당하기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;A class=con_link title=toc_19 href=&quot;http://alexk.springnote.com/pages/2975760#toc_19&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;사이트 root에 내 war할당하기&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;&lt;A class=con_link title=toc_20 href=&quot;http://alexk.springnote.com/pages/2975760#toc_20&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;jboss의 virtual hosting&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;jboss 툴 + eclipse&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_0 class=con_link title=toc_0 href=&quot;http://alexk.springnote.com/pages/2975760#toc_0&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;P&gt;&lt;A class=con_link href=&quot;https://www.jboss.org/tools/&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;https://www.jboss.org/tools/&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;jboss 주요 키워드&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_1 class=con_link title=toc_1 href=&quot;http://alexk.springnote.com/pages/2975760#toc_1&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;UL&gt;
&lt;LI&gt;JMX 
&lt;LI&gt;MBean 
&lt;LI&gt;JTA 
&lt;LI&gt;EJB 
&lt;LI&gt;JMS 
&lt;LI&gt;JAAS 
&lt;LI&gt;CMP 
&lt;LI&gt;&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;클래스 로딩에 대한 상세 로깅하기&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_2 class=con_link title=toc_2 href=&quot;http://alexk.springnote.com/pages/2975760#toc_2&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;P&gt;종종 라이브러리가 분명히 존재하는데도, 라이브러리를 찾을 수없다고 하면서 jboss에서 ear,jar,war를 deploy하지 못하는 경우가 생긴다.&lt;/P&gt;
&lt;P&gt;이를 위해 classloader 디버깅을 해주면 좋은데, 클래스 로더의 동작에 대한 로깅을 남기는 법이다.&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;&amp;lt;appender name=&quot;UCL&quot; class=&quot;org.apache.log4j.FileAppender&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name=&quot;File&quot; value=&quot;${jboss.server.home.dir}/log/ucl.log&quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name=&quot;Append&quot; value=&quot;false&quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layout class=&quot;org.apache.log4j.PatternLayout&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param name=&quot;ConversionPattern&quot; value=&quot;[%r,%c{1},%t] %m%n&quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layout&amp;gt;&lt;br /&gt;
&amp;lt;/appender&amp;gt;&lt;br /&gt;
&amp;lt;category name=&quot;org.jboss.mx.loading&quot; additivity=&quot;false&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;priority value=&quot;TRACE&quot; class=&quot;org.jboss.logging.XLevel&quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;appender-ref ref=&quot;UCL&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;요렇게 해 두면, 클래스 로더에 대한 로그가 ucl.log 라는 파일에 쌓인다. 필요 이상의 로그가 쌓이기 때문에 평소에는 주석처리 해 두었다가, 디버깅이 필요할때만 켜서 사용하자.&lt;/P&gt;
&lt;H1&gt;tomcat(jboss-web) 한글 설정하기&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_3 class=con_link title=toc_3 href=&quot;http://alexk.springnote.com/pages/2975760#toc_3&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;P&gt;jboss-web(내부적으로는 tomcat)은 기본값으로 한글 처리를 잘 해주지 못한다.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;get으로 전달되는 메시지의 한글이 깨짐 
&lt;LI&gt;post로 전달되는 메시지의 한글이 깨짐 
&lt;LI&gt;결과로 전달되는 response 메시지의 한글이 깨짐 &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;위의 세가지를 설정해주기 위해서는 몇가지 수정을 해 주어야한다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;server.xml 수정(get으로 전달되는 메시지의 한글 깨짐 해결)&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_4 class=con_link title=toc_4 href=&quot;http://alexk.springnote.com/pages/2975760#toc_4&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H2&gt;
&lt;P&gt;${jboss-deploy}/jboss-web/server.xml 파일에서 다음과 같은 부분을 수정한다.&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;&amp;lt;Connector port=&quot;8080&quot; ...... URIEncoding=&quot;euc-kr&quot;/&amp;gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;URIEncoding 부분을 추가한다. 위 부분을 UTF-8로 해도 될것 같긴 한데, 브라우저에서 메시지를 거의 euc-kr로 보내기 때문에 위와 같이 한다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;==&amp;gt; 현재 URL의 2바이트 문자를 보내는 인코딩은 UTF-8이 표준이라고 함. 단 이를 %인코딩을 통해서 고쳐서 보내주는 것이 맞음.&lt;/P&gt;
&lt;H2&gt;filter 사용(post로 전달되는 &amp;amp; 결과로 전달되는 reponse 메시지의 한글 깨짐 해결)&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_5 class=con_link title=toc_5 href=&quot;http://alexk.springnote.com/pages/2975760#toc_5&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;다음 소스를 다운 받는다. : &lt;A class=con_link title=SetCharacterEncodingFilter.java href=&quot;http://alexk.springnote.com/pages/2975760/attachments/1767619&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;SetCharacterEncodingFilter.java&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;배포되는 war파일의 web.xml 파일에 다음과 같이 추가한다. 모든 url로 전달되는 처리 중간에 SetCharacterEncodingFilter를 사용한다는 것이고, 그내용은 인자로 설정된 인코딩으로 처리하겠다는 것이다. &lt;/LI&gt;&lt;/UL&gt;
&lt;OL class=code&gt;
&lt;LI&gt;&amp;lt;filter&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;filter-name&amp;gt;Set Character Encoding&amp;lt;/filter-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;filter-class&amp;gt;com.kisinfo.companydata.webservice.filters.SetCharacterEncodingFilter&amp;lt;/filter-class&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;init-param&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-name&amp;gt;encoding&amp;lt;/param-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-value&amp;gt;euc-kr&amp;lt;/param-value&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;/init-param&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/filter&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filter-mapping&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;filter-name&amp;gt;Set Character Encoding&amp;lt;/filter-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/filter-mapping&amp;gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;웹서비스 시 호스트 주소 설정&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_6 class=con_link title=toc_6 href=&quot;http://alexk.springnote.com/pages/2975760#toc_6&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;P&gt;&lt;A class=con_link href=&quot;http://www.jboss.org/index.html?module=bb&amp;amp;op=viewtopic&amp;amp;p=4215755&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;http://www.jboss.org/index.html?module=bb&amp;amp;op=viewtopic&amp;amp;p=4215755&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;br /&gt;
jboss에서 호스트명 a.b.com 이런 식으로 해줘야 하는데, 이걸 세팅 안해주면,&lt;br /&gt;
그냥 &lt;A class=con_link href=&quot;http://a/&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;http://a:80/&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 처럼 참조 주소를 보내준다.&lt;br /&gt;
위의 url 설명을 참조하여, jboss-4.2.3.GA/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml&lt;br /&gt;
파일을 수정해주면, 그 내용대로 호스트 명을 설정해준다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;JVM 옵션 설정&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_7 class=con_link title=toc_7 href=&quot;http://alexk.springnote.com/pages/2975760#toc_7&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;P&gt;메모리 좀 늘려볼라구...&lt;/P&gt;
&lt;P&gt;run.sh 파일에 다음을 추가&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;JAVA_OPTS=&quot;$JAVA_OPTS -Xms1024m -Xmx2048m&quot; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;EJB 3.0 개발&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_8 class=con_link title=toc_8 href=&quot;http://alexk.springnote.com/pages/2975760#toc_8&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class=con_link href=&quot;http://cafe.naver.com/jbossug.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=42&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;http://cafe.naver.com/jbossug.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=42&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;H2&gt;jboss rmi 서버 설정&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_9 class=con_link title=toc_9 href=&quot;http://alexk.springnote.com/pages/2975760#toc_9&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H2&gt;
&lt;P&gt;jndi 에서 EJB를 검색하고 나면, J2EE서버에 접속해서 EJB 클래스를 요청해야한다. 이때 jndi에서 돌려주는 J2EE서버의 주소는 jboss서버의 binding된 '호스트명' 또는 'IP주소'이다. 즉&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;sh run.sh -b testserver &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;라는 이름으로 서비스를 실행했다면, 돌려주는 서버 이름도 'testserver'이다. 서버명이 공식 도메인명이면 상관 없겠지만, 개발중에 사용하는 임시 이름이라면,&lt;/P&gt;
&lt;P&gt;서버에서 사용하는 'testserver'라는 이름이 클라이언트 서버에는 존재하지 않을 수도있다.&lt;/P&gt;
&lt;P&gt;이때의 해결책은 3가지가 있다.&lt;/P&gt;
&lt;H3&gt;hosts 파일 변경&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_10 class=con_link title=toc_10 href=&quot;http://alexk.springnote.com/pages/2975760#toc_10&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H3&gt;
&lt;P&gt;hosts 파일 내에&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;testserver 1.1.1.1 &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;와 같이 host이름을 적어준다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;서버 구동시 binding 네임 변경&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_11 class=con_link title=toc_11 href=&quot;http://alexk.springnote.com/pages/2975760#toc_11&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H3&gt;
&lt;OL class=code&gt;
&lt;LI&gt;sh run.sh -b 1.1.1.1 &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;이왕이면 서버에서만 사용되는 hostname보다는 공인 ip를 적어주면 된다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;명시적으로 rmi서버 이름 설정하기&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_12 class=con_link title=toc_12 href=&quot;http://alexk.springnote.com/pages/2975760#toc_12&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H3&gt;
&lt;P&gt;가장 근본적인 해결책으로 서비스 실행시 다음과 같은 옵션을 주어서 실행한다.&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;sh run.sh -b testserver -Djava.rmi.server.hostname=1.1.1.1 &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class=con_link href=&quot;http://java.sun.com/j2se/1.4.2/docs/guide/rmi/javarmiproperties.html&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;http://java.sun.com/j2se/1.4.2/docs/guide/rmi/javarmiproperties.html&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; 
&lt;LI&gt;&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;데몬 띄우기&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_13 class=con_link title=toc_13 href=&quot;http://alexk.springnote.com/pages/2975760#toc_13&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class=con_link href=&quot;http://alexk.name/zbxe/blog/11596&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;http://alexk.name/zbxe/blog/11596&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;H1&gt;기본 서비스 인증 추가하기&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_14 class=con_link title=toc_14 href=&quot;http://alexk.springnote.com/pages/2975760#toc_14&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;P&gt;다음의 서비스는 jboss에서 기본을 열어두는 서비스 이므로 실서버로 이전하기 전에 전부 막아두어야 한다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;jbossws 
&lt;LI&gt;jbossws.bean 
&lt;LI&gt;jboss-web 
&lt;LI&gt;jmx-console &lt;/LI&gt;&lt;/UL&gt;
&lt;H1&gt;mysql 접속시 -ds.xml 설정&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_15 class=con_link title=toc_15 href=&quot;http://alexk.springnote.com/pages/2975760#toc_15&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;OL class=code&gt;
&lt;LI&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;euc-kr&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;datasources&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;no-tx-datasource&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;jndi-name&amp;gt;jdbc/jupiter&amp;lt;/jndi-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Sybase jConnect URL for the database.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: The hostname and port are made up values. The optional&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; database name is provided, as well as some additinal Driver&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameters.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connection-url&amp;gt;jdbc:mysql://hostname:3306/접속DB명?useUnicode=true&amp;amp;amp;characterEncoding=euckr&amp;lt;/connection-url&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;driver-class&amp;gt;com.mysql.jdbc.Driver&amp;lt;/driver-class&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;user-name&amp;gt;사용자명&amp;lt;/user-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;password&amp;gt;패스워드&amp;lt;/password&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;min-pool-size&amp;gt;5&amp;lt;/min-pool-size&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;max-pool-size&amp;gt;30&amp;lt;/max-pool-size&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;idle-timeout-minutes&amp;gt;5&amp;lt;/idle-timeout-minutes&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exception-sorter-class-name&amp;gt;com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter&amp;lt;/exception-sorter-class-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;valid-connection-checker-class-name&amp;gt;com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker&amp;lt;/valid-connection-checker-class-name&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/no-tx-datasource&amp;gt;&lt;br /&gt;
&amp;lt;/datasources&amp;gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;H2&gt;oracle 접속시 -ds.xml 설정&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_16 class=con_link title=toc_16 href=&quot;http://alexk.springnote.com/pages/2975760#toc_16&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H2&gt;
&lt;OL class=code&gt;
&lt;LI&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;lt;datasources&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp; &amp;lt;local-tx-datasource&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;jndi-name&amp;gt;OracleDS&amp;lt;/jndi-name&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connection-url&amp;gt;jdbc:oracle:thin:@IP주소:포트:SID&amp;lt;/connection-url&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;driver-class&amp;gt;oracle.jdbc.driver.OracleDriver&amp;lt;/driver-class&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;user-name&amp;gt;USERNAME&amp;lt;/user-name&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;password&amp;gt;PASSWORD&amp;lt;/password&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- DriverManager.getConnection(props) 호출시 넘겨주는 속성값들 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connection-property name=&quot;char.encoding&quot;&amp;gt;UTF-8&amp;lt;/connection-property&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Connection Pool의 최대, 최소 커넥션의 개수 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;min-pool-size&amp;gt;5&amp;lt;/min-pool-size&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;max-pool-size&amp;gt;20&amp;lt;/max-pool-size&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- 사용하지 않는 커넥션이 있는 경우 닫을 때까지 대기하는&amp;nbsp; 시간(기본 15분) --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;idle-timeout-minutes&amp;gt;1&amp;lt;/idle-timeout-minutes&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- JDBC Resource의 Unclosed에 대한 모니터링 활성화 여부 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;track-statements&amp;gt;true&amp;lt;/track-statements&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- 모든 커넥션을 다 소진했을 때 대기하는 시간(ms) --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;blocking-timeout-millis&amp;gt;5000&amp;lt;/blocking-timeout-millis&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- 트랜잭션 Query Timeout을 적용 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;set-tx-query-timeout/&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- 트랜잭션 Query Timeout의 시간을 5분으로 설정 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;query-timeout&amp;gt;300&amp;lt;/query-timeout&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- 커넥션 풀에서 커넥션을 넘겨받기 전에 여전히 커넥션이 유효한지 검증하는 Checker. pingDatabase 메소드를 사용 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;valid-connection-checker-class-name&amp;gt;org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker&amp;lt;/valid-connection-checker-class-name--&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- 치명적 에러시 사용하는 Oracle 에러 코드와 메시지를 확인 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exception-sorter-class-name&amp;gt;org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter&amp;lt;/exception-sorter-class-name&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- 새로운 커넥션을 획득했을 때 호출하는 SQL문 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;new-connection-sql&amp;gt;some arbitrary sql&amp;lt;/new-connection-sql&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Connection Pool에서 커넥션을 얻었을 때 얻은 커넥션에 대해서 호출하는 SQL문 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;check-valid-connection-sql&amp;gt;some arbitrary sql&amp;lt;/check-valid-connection-sql&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- standardjbosscmp-jdbc.xml 파일내에 정의되어 있는 type-mapping과 일치 --&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;metadata&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;type-mapping&amp;gt;Oracle9i&amp;lt;/type-mapping&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/metadata&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;nbsp; &amp;lt;/local-tx-datasource&amp;gt;&lt;/SPAN&gt;&lt;BR style=&quot;COLOR: rgb(0,0,0)&quot;&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체; COLOR: rgb(0,0,0)&quot;&gt;&amp;lt;/datasources&amp;gt;&lt;/SPAN&gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;SPAN style=&quot;FONT-FAMILY: 굴림체&quot;&gt;또는&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;[C:\jboss-4.2.3.GA\server\default\deploy]에 저장해 둔다.&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;datasources&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;local-tx-datasource&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;jndi-name&amp;gt;OracleDS&amp;lt;/jndi-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connection-url&amp;gt;&lt;SPAN style=&quot;BACKGROUND-COLOR: rgb(166,255,77); COLOR: rgb(0,0,0)&quot;&gt;jdbc:oracle:thin:@192.168.1.2:1521:orcl&lt;/SPAN&gt;&amp;lt;/connection-url&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Here are a couple of the possible OCI configurations.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; For more information, see http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/toc.htm&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connection-url&amp;gt;jdbc:oracle:oci:@youroracle-tns-name&amp;lt;/connection-url&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;connection-url&amp;gt;jdbc:oracle:oci:@(description=(address=(host=youroraclehost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=yourservicename)))&amp;lt;/connection-url&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Clearly, its better to have TNS set up properly.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;--&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;driver-class&amp;gt;oracle.jdbc.driver.OracleDriver&amp;lt;/driver-class&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;user-name&amp;gt;&lt;SPAN style=&quot;BACKGROUND-COLOR: rgb(166,255,77); COLOR: rgb(0,0,0)&quot;&gt;dbaccessid&lt;/SPAN&gt;&amp;lt;/user-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;password&amp;gt;&lt;SPAN style=&quot;BACKGROUND-COLOR: rgb(166,255,77); COLOR: rgb(0,0,0)&quot;&gt;dbaccesspassword&lt;/SPAN&gt;&amp;lt;/password&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--valid-connection-checker-class-name&amp;gt;org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker&amp;lt;/valid-connection-checker-class-name--&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Checks the Oracle error codes and messages for fatal errors --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exception-sorter-class-name&amp;gt;org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter&amp;lt;/exception-sorter-class-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- sql to call when connection is created&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;new-connection-sql&amp;gt;some arbitrary sql&amp;lt;/new-connection-sql&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- sql to call on an existing pooled connection when it is obtained from pool - the OracleValidConnectionChecker is prefered&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;check-valid-connection-sql&amp;gt;some arbitrary sql&amp;lt;/check-valid-connection-sql&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;metadata&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;type-mapping&amp;gt;Oracle11g&amp;lt;/type-mapping&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/metadata&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/local-tx-datasource&amp;gt;&lt;br /&gt;
&amp;lt;/datasources&amp;gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;context-root 패스 변경하기&lt;A class=con_link href=&quot;http://my.domain.com/&quot; target=_blank&gt;&lt;/A&gt;&lt;A class=con_link href=&quot;http://my.domain.com/&quot; target=_blank&gt;&lt;/A&gt;&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_17 class=con_link title=toc_17 href=&quot;http://alexk.springnote.com/pages/2975760#toc_17&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;H2&gt;내가 추가한 war에 특정 url할당하기&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_18 class=con_link title=toc_18 href=&quot;http://alexk.springnote.com/pages/2975760#toc_18&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H2&gt;
&lt;P&gt;war패키지 안의 WEB-INF/jboss-web.xml 파일을 만들어서 그 내용을 다음과 같이 수정한다.&lt;/P&gt;
&lt;OL class=code&gt;
&lt;LI&gt;&amp;lt;jboss-web&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;context-root&amp;gt;/myapp&amp;lt;/context-root&amp;gt;&lt;br /&gt;
&amp;lt;/jboss-web&amp;gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;위와 같이 하면 http://my.domain.com/myapp 라는 주소로 내가 만든 war파일을 액세스 할 수 있다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;사이트 root에 내 war할당하기&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_19 class=con_link title=toc_19 href=&quot;http://alexk.springnote.com/pages/2975760#toc_19&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;#&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H2&gt;
&lt;OL class=code&gt;
&lt;LI&gt;&amp;lt;jboss-web&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;context-root&amp;gt;/&amp;lt;/context-root&amp;gt;&lt;br /&gt;
&amp;lt;/jboss-web&amp;gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;위와 같이 루트를 할당해버리면 최상위 디렉토리로 접속 가능하다. 혹시 사이트가 갱신되지 않을때는 '새로고침'을 하면 바뀔 것이다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;jboss의 virtual hosting&lt;SUP class=tocAnchorContainer&gt;&lt;A id=toc_20 class=con_link title=toc_20 href=&quot;http://alexk.springnote.com/pages/2975760#toc_20&quot; target=_blank&gt;&lt;FONT color=#0000ff&gt;&lt;U&gt;#&lt;/U&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/SUP&gt;&lt;/H1&gt;
&lt;P&gt;&lt;A class=con_link href=&quot;http://nagpals.com/blog/post.cfm/running-railo-and-adobe-coldfusion-on-the-same-context-root-in-jboss&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#810081&gt;http://nagpals.com/blog/post.cfm/running-railo-and-adobe-coldfusion-on-the-same-context-root-in-jboss&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class=con_link href=&quot;http://www.jboss.org/community/wiki/VirtualHosts&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#810081&gt;http://www.jboss.org/community/wiki/VirtualHosts&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;출처:&amp;nbsp; &lt;A class=con_link href=&quot;http://alexk.springnote.com/pages/2975760&quot; target=_blank&gt;&lt;U&gt;&lt;FONT color=#810081&gt;http://alexk.springnote.com/pages/2975760 &lt;/FONT&gt;&lt;/U&gt;
&lt;DIV class=autosourcing-stub&gt;
&lt;P style=&quot;PADDING-BOTTOM: 0px; FONT-STYLE: normal; MARGIN: 11px 0px 7px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Dotum; FONT-SIZE: 12px; FONT-WEIGHT: normal; PADDING-TOP: 0px&quot;&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/A&gt;
&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <category>프로그래밍/자바</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/42</guid>
      <comments>https://hun4u.tistory.com/42#entry42comment</comments>
      <pubDate>Mon, 17 May 2010 15:45:13 +0900</pubDate>
    </item>
    <item>
      <title>Spring 업로드 구현  Spring</title>
      <link>https://hun4u.tistory.com/41</link>
      <description>&lt;TABLE class=post-top&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class=p12 vAlign=bottom&gt;
&lt;DIV class=htitle&gt;&lt;SPAN class=&quot;cate pcol2&quot;&gt;&lt;FONT color=#333333&gt;&lt;U&gt;&lt;IMG src=&quot;http://blogimgs.naver.com/imgs/nblog/spc.gif&quot; width=105 height=1&gt;&lt;/U&gt; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P class=&quot;date fil5 pcol2&quot;&gt;2010/03/23 16:48&lt;/P&gt;
&lt;P class=&quot;fil3 dline&quot;&gt;&lt;/P&gt;
&lt;P style=&quot;FLOAT: right&quot; class=url&gt;&lt;IMG class=&quot;btn_urlcopy _setClipboard&quot; title=http://blog.naver.com/blue_0227/130082936209 alt=복사 src=&quot;http://blogimgs.naver.com/nblog/btn_urlcopy.gif&quot; width=21 height=13&gt; &lt;A class=&quot;fil5 pcol2&quot; href=&quot;http://blog.naver.com/blue_0227/130082936209&quot; target=_top&gt;&lt;U&gt;&lt;FONT color=#333333&gt;http://blog.naver.com/blue_0227/130082936209&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt; &lt;/P&gt;
&lt;DIV class=&quot;clear blank5&quot;&gt;&lt;/DIV&gt;
&lt;P class=post_option&gt;&lt;/P&gt;
&lt;DIV style=&quot;DISPLAY: none&quot; id=sendPost_from_service_130082936209 class=&quot;post-sub ptr&quot;&gt;
&lt;P&gt;&lt;SPAN id=sendPost_from_service_H_130082936209 class=pcol2&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;DIV id=post-view130082936209 class=&quot;post-view pcol2 _param(1)&quot;&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 1.5&quot;&gt;1. jar추가.&lt;br /&gt;
필요한 jar파일은 다음과 같다.&lt;br /&gt;

&lt;TABLE style=&quot;BORDER-COLLAPSE: collapse&quot; cellSpacing=1 cellPadding=1 width=610 bgColor=#ffffff&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style=&quot;BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid&quot; width=&quot;100%&quot;&gt;&amp;nbsp;- commons-fileupload-1.2.jar&lt;br /&gt;
&amp;nbsp;- commons-io-1.3.jar&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;br /&gt;
2. Spring Bean설정.&lt;br /&gt;
아래와 같이 &lt;FONT color=#2a00ff size=2 face=&quot;Courier New&quot;&gt;&lt;EM&gt;CommonsMultipartResolver&lt;/EM&gt;&lt;FONT color=#000000&gt;를 추가해준다.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;TABLE style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 1.5; BORDER-COLLAPSE: collapse&quot; cellSpacing=1 cellPadding=1 width=610 bgColor=#ffffff&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style=&quot;BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid&quot; width=&quot;100%&quot;&gt;&amp;nbsp;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; BACKGROUND: silver; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-highlight: silver&quot; lang=EN-US&gt;bean&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;id&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;multipartResolver&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt; 
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&lt;FONT color=#000000&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;class&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;org.springframework.web.multipart.commons.CommonsMultipartResolver&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;property&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;name&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;maxUploadSize&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;value&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;30720000&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;/&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0cm 0cm 0pt&quot; class=MsoNormal&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; BACKGROUND: silver; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-highlight: silver&quot; lang=EN-US&gt;bean&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;DIV style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 1.5&quot;&gt;&lt;br /&gt;
그리고 컨트룰러 등록. 여기서 업로드 기본디렉토리를 설정해준다.&lt;br /&gt;

&lt;TABLE style=&quot;BORDER-COLLAPSE: collapse&quot; cellSpacing=1 cellPadding=1 width=610 bgColor=#ffffff&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style=&quot;BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid&quot; width=&quot;100%&quot;&gt;&amp;nbsp; &lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; BACKGROUND: silver; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-highlight: silver&quot; lang=EN-US&gt;bean&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;id&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;cpnupload&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;&lt;br /&gt;
&amp;nbsp; class&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;net.tino.controller.cpOper.CpnUploadController&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt; 
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-spacerun: yes&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;property&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;name&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;uploadDir&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;value&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;E://COUPONE&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;/&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0cm 0cm 0pt&quot; class=MsoNormal&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; BACKGROUND: silver; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-highlight: silver&quot; lang=EN-US&gt;bean&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;br /&gt;
3. 업로드폼&lt;br /&gt;
주의할점은... &lt;FONT size=2&gt;&lt;FONT face=&quot;Courier New&quot;&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;enctype&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&lt;STRONG&gt;&lt;EM&gt;&quot;multipart/form-data&quot;&lt;/EM&gt;&lt;/STRONG&gt;&lt;FONT color=#000000&gt;를 반드시 명시해야 한다는점은 왠만하면 다 알고있을터... &lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;method&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;post&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT color=#000000&gt;도 반드시 명시해줘야하고, 필드명에 &lt;STRONG&gt;반드시 &lt;FONT color=#000000&gt;name&lt;/FONT&gt;도&lt;/STRONG&gt; 명시를&lt;br /&gt;
해주어야 한다는것이다. 컨트룰러에서 value를 name을 인식해서 가져오는거같다.(보통 난 폼 컨트롤할때 id를 쓰는데... 이거 때문에 삽질좀 했다 ㅡ_ㅡ;;;)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;br /&gt;

&lt;TABLE style=&quot;BORDER-COLLAPSE: collapse&quot; cellSpacing=1 cellPadding=1 width=610 bgColor=#ffffff&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style=&quot;BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid&quot; width=&quot;100%&quot;&gt;&amp;nbsp;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #bf5f3f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;%@&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #3f7f7f&quot;&gt;page&lt;/SPAN&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;language&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;java&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;contentType&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;text/html; charset=EUC-KR&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt; 
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&lt;FONT color=#000000&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;pageEncoding&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;EUC-KR&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: #bf5f3f&quot;&gt;%&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #bf5f3f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;%@&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #3f7f7f&quot;&gt;taglib&lt;/SPAN&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;uri&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;http://java.sun.com/jsp/jstl/core&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;prefix&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;c&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: #bf5f3f&quot;&gt;%&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #bf5f3f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;%@&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #3f7f7f&quot;&gt;taglib&lt;/SPAN&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;uri&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;http://www.springframework.org/tags&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;prefix&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;spring&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: #bf5f3f&quot;&gt;%&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #bf5f3f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;%@&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #3f7f7f&quot;&gt;taglib&lt;/SPAN&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;uri&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;http://www.springframework.org/tags/form&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;prefix&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;form&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: #bf5f3f&quot;&gt;%&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #bf5f3f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;%@&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #3f7f7f&quot;&gt;taglib&lt;/SPAN&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;uri&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;http://java.sun.com/jsp/jstl/fmt&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;prefix&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;fmt&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: #bf5f3f&quot;&gt;%&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;html&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;head&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;meta&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;http-equiv&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;content-type&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;content&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;text/html; charset=euc-kr&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;title&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;FONT color=#000000&gt;ㄷㄷㄷ;;;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;title&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;script&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;language&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;javascript&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;src&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;../scripts/inc_util.js&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #3f7f7f&quot;&gt;script&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;script&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;language&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;JavaScript&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;function&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; upload(){&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;var&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; fileName = str_trim(document.frm.f1.value);&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;var&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; arr=(&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;file:///&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;+fileName.replace(/ /gi,&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;%20&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;).replace(/\\/gi,&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;/&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;)).split(&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;/&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;var&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; chkFile = arr[arr.length-1];&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;var&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; len = chkFile.length;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;var&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; codeLen = 0;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;for&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; (i=0; i &amp;lt; len; i++)&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;(chkFile.charCodeAt(i) &amp;gt; 255)? codeLen+=2:codeLen++;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;if&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; (len != codeLen) {&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;alert(&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;한글&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일은&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;업로드&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;할&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;수&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;없습니다&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;return&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;false&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;if&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;(fileName.length == 0 &amp;amp;&amp;amp; fileName.length == 0){&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;alert(&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;업로드할&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일을&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;선택하십시오&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;document.frm.f1.focus();&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;return&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;false&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;} &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;else&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; {&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;document.frm.submit();&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;script&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;head&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;body&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;center&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;form&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;name&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;frm&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;action&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;../cpnupload/insert.html&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#e31600&gt;&lt;FONT size=+0&gt; &lt;/FONT&gt;&lt;U&gt;&lt;FONT color=#e31600&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;method&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;post&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;enctype&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;multipart/form-data&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;input&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;type&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;file&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;id&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;f1&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;STRONG&gt;&lt;U&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;name&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;/U&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&lt;U&gt;&quot;f1&lt;/U&gt;&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;size&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;30&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;/&amp;gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;input&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;type&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;button&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;style&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;width:80&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;value&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;확인&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;I&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT color=#000000&gt; &lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: #7f007f&quot;&gt;onclick&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: black&quot;&gt;=&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: #2a00ff&quot;&gt;&quot;javascript&lt;X /&gt;:upload();&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;COLOR: teal&quot;&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;form&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;${resultMessage }&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;center&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;body&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;MARGIN: 0cm 0cm 0pt&quot; class=MsoNormal&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: #3f7f7f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;html&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-FAMILY: 'Courier New'; COLOR: teal; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;br /&gt;
&lt;br /&gt;4. 컨트룰러 제작&lt;br /&gt;

&lt;TABLE style=&quot;BORDER-COLLAPSE: collapse&quot; cellSpacing=1 cellPadding=1 width=610 bgColor=#ffffff&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style=&quot;BORDER-BOTTOM: #dadada 1px solid; BORDER-LEFT: #dadada 1px solid; BORDER-TOP: #dadada 1px solid; BORDER-RIGHT: #dadada 1px solid&quot; width=&quot;100%&quot;&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; java.io.File;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt; 
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; javax.servlet.http.HttpServletRequest;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; javax.servlet.http.HttpServletResponse;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; org.apache.log4j.Logger;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; org.springframework.web.multipart.MultipartFile;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; org.springframework.web.multipart.MultipartHttpServletRequest;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; org.springframework.web.servlet.ModelAndView;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;import&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; org.springframework.web.servlet.mvc.multiaction.MultiActionController;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;public&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;class&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; CpnUploadController &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;extends&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; MultiActionController {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;private&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; Logger &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;logger&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; = Logger.&lt;I&gt;getLogger&lt;/I&gt;(CpnUploadController.&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;class&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;private&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; File &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;uploadDir&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;public&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;void&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; setUploadDir(File uploadDir) {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;this&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;uploadDir&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; = uploadDir;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;public&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; ModelAndView insert(HttpServletRequest request, HttpServletResponse response) &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;throws&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; Exception {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;logger&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.debug(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;### CpnUploadController - insert()&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;String resultMessage = &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;response.setContentType(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;text/plain&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;if&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; (! (request &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;instanceof&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; MultipartHttpServletRequest)) {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;response.sendError(HttpServletResponse.&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;SC_BAD_REQUEST&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;, &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;Expected multipart request&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;return&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;null&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// 빈 업로드디렉토리 설정해 둔위치에 &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;위치에&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일을&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;저장&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;MultipartFile imgFile = multipartRequest.getFile(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;f1&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;); &lt;SPAN style=&quot;mso-tab-count: 6&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// &lt;U&gt;request&lt;/U&gt;&lt;/SPAN&gt;&lt;U&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;의&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; &quot;f1&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;을&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;찾아&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;U&gt;&lt;SPAN lang=EN-US&gt;file&lt;/SPAN&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;U&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;객체에&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;세팅한다&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;final&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; String imgFileName = imgFile.getOriginalFilename().trim();&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;String filePath = &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;uploadDir&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.getAbsolutePath() + File.&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;separator&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;여기에&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;중복&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;체크&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;추가&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;용량&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;체크&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;long&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; fileSize = imgFile.getSize();&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;if&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;(fileSize &amp;gt; 20480000 || fileSize &amp;lt;= 0) {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;resultMessage = &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;20MB &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;이상의&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일은&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;업로드&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;할&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;수&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;없습니다&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;확장자&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;체크&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;int&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; pathPoint = imgFileName.lastIndexOf(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;.&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;String filePoint = imgFileName.substring(pathPoint + 1, imgFileName.length());&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;String fileType = filePoint.toLowerCase();&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;if&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;(!fileType.equals(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;jpg&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;) &amp;amp;&amp;amp; !fileType.equals(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;bmp&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;) &amp;amp;&amp;amp; !fileType.equals(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;gif&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;)) {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;resultMessage = &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;이미지&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일만&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;업로드&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;가능합니다&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일을&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;지정한&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;위치에&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; upload&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;File f = &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;new&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; File(filePath + &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;64&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;if&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;(!f.exists()) {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;f.mkdirs();&lt;SPAN style=&quot;mso-tab-count: 2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;디렉토리&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;생성&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;String finalFnm = filePath + &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;64&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; + File.&lt;/SPAN&gt;&lt;I&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;separator&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; + imgFileName;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;logger&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.debug(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;finalFnm = &quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; + finalFnm);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;imgFile.transferTo(&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;new&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; File(finalFnm));&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;resultMessage = &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;정상적으로&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;업로드&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;하였습니다&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;resultMessage += &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;\n&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;저장된&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #2a00ff; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; =&amp;gt; &quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; + finalFnm;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;// &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;여기서&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; DB&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;에&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;파일을&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;포함한&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;쿠폰정보&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #3f7f5f; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot;&gt; &lt;/SPAN&gt;&lt;FONT face=&quot;맑은 고딕&quot;&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; COLOR: #3f7f5f; mso-bidi-font-family: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'&quot;&gt;저장&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;logger&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.debug(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;resultMessage = &quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;+resultMessage);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;ModelAndView mav = &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;new&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; ModelAndView(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;redirect:uploadForm.html&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;mav.addObject(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;resultMessage&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;, resultMessage);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;return&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; mav;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;public&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; ModelAndView uploadForm(HttpServletRequest request, HttpServletResponse response) {&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;logger&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.debug(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;### CpnUploadController - uploadForm()&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;ModelAndView mav = &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;new&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; ModelAndView(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;/cpOper/cpn_upload&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;String resultMessage = request.getParameter(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;resultMessage&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #0000c0; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;logger&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;.debug(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;resultMessage = &quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;+resultMessage);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;mav.addObject(&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #2a00ff; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&quot;resultMessage&quot;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;, resultMessage);&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: #7f0055; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;return&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt; mav;&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;FONT size=2&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;}&lt;/SPAN&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt; WORD-BREAK: keep-all; mso-layout-grid-align: none&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;o:p&gt;&lt;FONT color=#000000 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;TEXT-ALIGN: left; LINE-HEIGHT: 150%; MARGIN: 0cm 0cm 0pt&quot; class=MsoNormal align=left&gt;&lt;SPAN style=&quot;LINE-HEIGHT: 150%; FONT-FAMILY: 'Courier New'; COLOR: black; mso-bidi-font-size: 10.0pt; mso-font-kerning: 0pt&quot; lang=EN-US&gt;&lt;FONT size=2&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&amp;nbsp;끝.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <category>프로그래밍/자바</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/41</guid>
      <comments>https://hun4u.tistory.com/41#entry41comment</comments>
      <pubDate>Wed, 7 Apr 2010 17:57:35 +0900</pubDate>
    </item>
    <item>
      <title>톰켓 버전별 한글처리(4.1.30 vs 5.0.27)</title>
      <link>https://hun4u.tistory.com/40</link>
      <description>&lt;br /&gt;

&lt;P&gt;&lt;FONT color=#336666 size=5&gt;&lt;STRONG&gt;윈도우 톰켓 4.1.30&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;TABLE border=1 cellSpacing=1 cellPadding=1 width=&quot;100%&quot;&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #cccccc&quot;&gt;request로 받지 않을때&lt;/FONT&gt;&lt;br /&gt;
&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터 적용의 경우&lt;/FONT&gt;&lt;br /&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않으면 한글깨짐 (°¡³ª´Uabc °¡³ª´U¼?≫b)&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터적용하지 않는경우&lt;/FONT&gt;&lt;br /&gt;
필터 적용하든 안하든 상단에 정의하지 않으면 전부 위와같이 깨짐&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#cc0000&gt;결론 : &lt;br /&gt;
톰켓 4.1.30의 경우 필터적용 유무와 관계없이 페이지 상단에 무조건 케릭셋 지정해야한다&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #cccccc&quot;&gt;폼태그를 통해 넘겨서 request로 받을경우&lt;/FONT&gt;&lt;br /&gt;
적용 문자 : &quot;한글 abc&quot; 라는 문자열 전송&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터 적용의 경우&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;&lt;/FONT&gt;&lt;br /&gt;
&lt;FONT color=#339966&gt;get방식의 경우&lt;/FONT&gt;&lt;br /&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않으면 한글깨짐(?? abc)&lt;br /&gt;
getBytes로 처리하든지 않하든지 무조건 깨짐(?? abc)&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하면&lt;br /&gt;
getBytes처리 하지않으면 정상출력&lt;br /&gt;
getBytes처리하면 깨짐 (?? abc)&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#339966&gt;post방식의 경우&lt;/FONT&gt;&lt;br /&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않으면 한글깨짐(?? abc)&lt;br /&gt;
getBytes로 처리하든지 않하든지 무조건 깨짐(?? abc)&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하면&lt;br /&gt;
getBytes처리 하지않으면 정상출력&lt;br /&gt;
getBytes처리하면 깨짐 (?? abc)&lt;/P&gt;
&lt;P&gt;*getBytes 처리방식 : String inputStr = new String(request.getParameter(&quot;param&quot;).getBytes(&quot;8859_1&quot;), &quot;MS949&quot;);&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#cc0000&gt;결론 : &lt;br /&gt;
필터적용의 경우 get방식이건 post방식이건 결과값은 같다 . &lt;br /&gt;
페이지 상단에 케릭셋 적용하지 않으면 무조건 깨지므로 일단 무조건 케릭셋은 MS949로 지정한다.&lt;br /&gt;
request로 받은 값은 getBytes처리하지 않는다.. 즉 필터에서 처리를 해주기때문에 처리하게되면 이중처리로 한글이 깨지게된다.&lt;br /&gt;
고로 필터 적용해야함 ㅡㅡ&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터 적용하지 않는경우&lt;/FONT&gt;&lt;br /&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않으면 한글깨짐&lt;br /&gt;
getBytes처리 하지않을때 현상 (CN±Uabc)&lt;br /&gt;
getBytes처리할때 현상(??abc)&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하면&lt;br /&gt;
getBytes처리 하지않으면 한글깨짐 (??±?abc)&lt;br /&gt;
getBytes처리하면 정상출력&lt;/P&gt;
&lt;P&gt;*getBytes 처리방식 : String inputStr = new String(request.getParameter(&quot;param&quot;).getBytes(&quot;8859_1&quot;), &quot;MS949&quot;);&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#cc0000&gt;결론 :&lt;br /&gt;
필터를 적용하지 않는경우는(톰켓 버전이낮은경우 필터가 안먹는경우가 있을때)&lt;br /&gt;
일단 상단에 무조건 케릭셋을 적용한다음.. &lt;br /&gt;
request로 받은값은 무조건 getBytes처리나 request.setCharacterEncoding(&quot;MS949&quot;);의 처리를 해주어야한다.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#336666 size=5&gt;&lt;STRONG&gt;윈도우 톰켓 5.0.27&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;TABLE border=1 cellSpacing=1 cellPadding=1 width=&quot;100%&quot;&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #cccccc&quot;&gt;request로 받지 않을때&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #cccccc&quot;&gt;&lt;/FONT&gt;&lt;br /&gt;
&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터 적용의 경우&lt;br /&gt;
&lt;/FONT&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않아도 정상출력&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터적용하지 않는경우&lt;br /&gt;
&lt;/FONT&gt;필터 적용하든 안하든 무조건 정상출력됨&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#cc0000&gt;결론 : &lt;br /&gt;
톰켓 5.0.27의 경우 필터적용 유무와 관계없이 무조건 정상출력 된다&lt;/FONT&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #cccccc&quot;&gt;폼태그를 통해 넘겨서 request로 받을경우&lt;/FONT&gt;&lt;br /&gt;
적용 문자 : &quot;한글 abc&quot; 라는 문자열 전송&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터 적용의 경우&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#339966&gt;get방식의 경우&lt;/FONT&gt;&lt;br /&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않는경우&lt;br /&gt;
getBytes처리 하지않을때 정상출력 &lt;br /&gt;
getBytes처리할때 한글깨짐(??abc)&lt;/P&gt;
&lt;P&gt;&lt;br /&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하면&lt;br /&gt;
getBytes처리 하지않으면 정상출력&lt;br /&gt;
getBytes처리하면 깨짐 (?? abc)&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#339966&gt;post방식의 경우&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않는경우&lt;br /&gt;
getBytes처리 하지않을때 한글깨짐 (??abc)&lt;br /&gt;
getBytes처리할때 한글깨짐(??abc)&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하면&lt;br /&gt;
getBytes처리 하지않을때 정상출력&lt;br /&gt;
getBytes처리할때 한글깨짐(??abc)&lt;/P&gt;
&lt;P&gt;&lt;br /&gt;
*getBytes 처리방식 : String inputStr = new String(request.getParameter(&quot;param&quot;).getBytes(&quot;8859_1&quot;), &quot;MS949&quot;);&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: #99ffff&quot;&gt;필터 적용하지 않는경우&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#339966&gt;get방식의 경우&lt;/FONT&gt;&lt;br /&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않는경우&lt;br /&gt;
getBytes처리 하지않을때 정상출력 &lt;br /&gt;
getBytes처리할때 한글깨짐(??abc)&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하면&lt;br /&gt;
getBytes처리 하지않으면 한글깨짐 (??±?abc)&lt;br /&gt;
getBytes처리하면 정상출력&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#339966&gt;post방식의 경우&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하지 않는경우&lt;br /&gt;
getBytes처리 하지않을때 한글깨짐 (??abc)&lt;br /&gt;
getBytes처리할때 한글깨짐(??abc)&lt;/P&gt;
&lt;P&gt;&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html;charset=MS949&quot; %&amp;gt;를 적용하면&lt;br /&gt;
getBytes처리 하지않을때 정상출력&lt;br /&gt;
getBytes처리할때 한글깨짐(??abc)&lt;/P&gt;
&lt;P&gt;*getBytes 처리방식 : String inputStr = new String(request.getParameter(&quot;param&quot;).getBytes(&quot;8859_1&quot;), &quot;MS949&quot;);&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#cc0000&gt;결론 :&lt;br /&gt;
필터를 적용하건 안하건 변화가 없다.&lt;br /&gt;
즉 톰켓5.0.27버전의 자체에서 필터처리를 해서 전체적인 케릭터셋을 정의해준다고 봐야할거 같다.&lt;br /&gt;
하지만 get방식과 post방식에따라 한글처리가 차이가 있다.&lt;br /&gt;
톰켓 5.0.27에서는 get방식으로 전송시 getBytes처리를 해주어야하고 post방식처리시에는 getBytes를 처리하면 안된다.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#cc0000&gt;결론적으로 톰켓 5.0.27버전에서는 필터를 처리할필요가 없고 get방식의경우&amp;nbsp;getBytes처리를 해주어야하고 post방식처리시에는 getBytes를 처리하면 안된다.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <category>프로그래밍/자바</category>
      <author>굿데이</author>
      <guid isPermaLink="true">https://hun4u.tistory.com/40</guid>
      <comments>https://hun4u.tistory.com/40#entry40comment</comments>
      <pubDate>Sat, 3 Apr 2010 10:41:48 +0900</pubDate>
    </item>
  </channel>
</rss>