<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>U've got a minute?</title>
    <link>https://liketh.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Fri, 10 Jul 2026 18:38:17 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>Request</managingEditor>
    <image>
      <title>U've got a minute?</title>
      <url>https://t1.daumcdn.net/cfile/tistory/22718B3458DB50BD26</url>
      <link>https://liketh.tistory.com</link>
    </image>
    <item>
      <title>콤마 찍기 (정규표현식)</title>
      <link>https://liketh.tistory.com/entry/%EC%BD%A4%EB%A7%88-%EC%B0%8D%EA%B8%B0-%EC%A0%95%EA%B7%9C%ED%91%9C%ED%98%84%EC%8B%9D</link>
      <description>&lt;p&gt;//콤마찍기 &lt;br /&gt;function&amp;nbsp;comma(str)&amp;nbsp;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;str&amp;nbsp;=&amp;nbsp;String(str); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;str.replace(/(\d)(?=(?:\d{3})+(?!\d))/g,&amp;nbsp;'$1,'); &lt;br /&gt;}&lt;/p&gt;</description>
      <category>Web/JavaScript</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/310</guid>
      <comments>https://liketh.tistory.com/entry/%EC%BD%A4%EB%A7%88-%EC%B0%8D%EA%B8%B0-%EC%A0%95%EA%B7%9C%ED%91%9C%ED%98%84%EC%8B%9D#entry310comment</comments>
      <pubDate>Mon, 22 Feb 2021 13:36:51 +0900</pubDate>
    </item>
    <item>
      <title>웹서버 스타트 시 에러 로그 / 해결</title>
      <link>https://liketh.tistory.com/entry/%EC%9B%B9%EC%84%9C%EB%B2%84-%EC%8A%A4%ED%83%80%ED%8A%B8-%EC%8B%9C-%EC%97%90%EB%9F%AC-%EB%A1%9C%EA%B7%B8-%ED%95%B4%EA%B2%B0</link>
      <description>&lt;SPAN style='FONT-SIZE: 16px; FONT-FAMILY: &quot;Noto Sans Korean&quot;, &quot;Apple SD Gothic Neo&quot;, NanumBarunGothic, 나눔바른고딕, NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Open Sans&quot;, Arial, Dotum, 돋움, sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: 300; COLOR: rgb(0,128,0); FONT-STYLE: normal; TEXT-ALIGN: justify; ORPHANS: 2; WIDOWS: 2; DISPLAY: inline !important; LETTER-SPACING: -1px; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial'&gt;Permission denied: make_sock: could not bind to address [::]:80&lt;/SPAN&gt;&lt;BR style='FONT-SIZE: 16px; FONT-FAMILY: &quot;Noto Sans Korean&quot;, &quot;Apple SD Gothic Neo&quot;, NanumBarunGothic, 나눔바른고딕, NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Open Sans&quot;, Arial, Dotum, 돋움, sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: 300; COLOR: rgb(0,128,0); FONT-STYLE: normal; TEXT-ALIGN: justify; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: -1px; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial'&gt;&lt;SPAN style='FONT-SIZE: 16px; FONT-FAMILY: &quot;Noto Sans Korean&quot;, &quot;Apple SD Gothic Neo&quot;, NanumBarunGothic, 나눔바른고딕, NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Open Sans&quot;, Arial, Dotum, 돋움, sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: 300; COLOR: rgb(0,128,0); FONT-STYLE: normal; TEXT-ALIGN: justify; ORPHANS: 2; WIDOWS: 2; DISPLAY: inline !important; LETTER-SPACING: -1px; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial'&gt;Permission denied: make_sock: could not bind to address 0.0.0.0:80&lt;/SPAN&gt;&lt;BR style='FONT-SIZE: 16px; FONT-FAMILY: &quot;Noto Sans Korean&quot;, &quot;Apple SD Gothic Neo&quot;, NanumBarunGothic, 나눔바른고딕, NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Open Sans&quot;, Arial, Dotum, 돋움, sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: 300; COLOR: rgb(0,128,0); FONT-STYLE: normal; TEXT-ALIGN: justify; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: -1px; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial'&gt;&lt;SPAN style='FONT-SIZE: 16px; FONT-FAMILY: &quot;Noto Sans Korean&quot;, &quot;Apple SD Gothic Neo&quot;, NanumBarunGothic, 나눔바른고딕, NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Open Sans&quot;, Arial, Dotum, 돋움, sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: 300; COLOR: rgb(0,128,0); FONT-STYLE: normal; TEXT-ALIGN: justify; ORPHANS: 2; WIDOWS: 2; DISPLAY: inline !important; LETTER-SPACING: -1px; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial'&gt;no listening sockets available, shutting down&lt;/SPAN&gt;&lt;BR style='FONT-SIZE: 16px; FONT-FAMILY: &quot;Noto Sans Korean&quot;, &quot;Apple SD Gothic Neo&quot;, NanumBarunGothic, 나눔바른고딕, NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Open Sans&quot;, Arial, Dotum, 돋움, sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: 300; COLOR: rgb(0,128,0); FONT-STYLE: normal; TEXT-ALIGN: justify; ORPHANS: 2; WIDOWS: 2; LETTER-SPACING: -1px; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial'&gt;&lt;SPAN style='FONT-SIZE: 16px; FONT-FAMILY: &quot;Noto Sans Korean&quot;, &quot;Apple SD Gothic Neo&quot;, NanumBarunGothic, 나눔바른고딕, NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, &quot;Helvetica Neue&quot;, Helvetica, &quot;Open Sans&quot;, Arial, Dotum, 돋움, sans-serif; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: 300; COLOR: rgb(0,128,0); FONT-STYLE: normal; TEXT-ALIGN: justify; ORPHANS: 2; WIDOWS: 2; DISPLAY: inline !important; LETTER-SPACING: -1px; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial'&gt;Unable to open logs&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;apache 데몬을 root 권한이 아닌 사용자 계정으로 실행 해서 나는 로그다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;기본적으로 예약된 포트는 root 권한 이외의 계정으로는 오픈 할 수 없다.&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;A href=&quot;http://freeism.co.kr/tc/612&quot;&gt;http://freeism.co.kr/tc/612&lt;/A&gt;&lt;/P&gt;</description>
      <category>Server/Unix/Linux</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/306</guid>
      <comments>https://liketh.tistory.com/entry/%EC%9B%B9%EC%84%9C%EB%B2%84-%EC%8A%A4%ED%83%80%ED%8A%B8-%EC%8B%9C-%EC%97%90%EB%9F%AC-%EB%A1%9C%EA%B7%B8-%ED%95%B4%EA%B2%B0#entry306comment</comments>
      <pubDate>Tue, 12 Sep 2017 00:16:14 +0900</pubDate>
    </item>
    <item>
      <title>web server</title>
      <link>https://liketh.tistory.com/entry/web-server</link>
      <description>&lt;P&gt;출처 : &lt;/P&gt;
&lt;P&gt;&lt;A href=&quot;http://blog.naver.com/woony0622/150113410306&quot;&gt;http://blog.naver.com/woony0622/150113410306&lt;/A&gt;&lt;/P&gt;&lt;A href=&quot;http://blog.naver.com/dudwo567890/130156854673&quot;&gt;http://blog.naver.com/dudwo567890/130156854673&lt;/A&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;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ps -ef | grep httpd&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;killall -9 httpd&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;find . -name &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;./apachectl configtest&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;</description>
      <category>Server/Unix/Linux</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/305</guid>
      <comments>https://liketh.tistory.com/entry/web-server#entry305comment</comments>
      <pubDate>Thu, 27 Apr 2017 18:54:47 +0900</pubDate>
    </item>
    <item>
      <title>jquery 로 selectBox option  값 찾기</title>
      <link>https://liketh.tistory.com/entry/jquery-%EB%A1%9C-selectBox-option-%EA%B0%92-%EC%B0%BE%EA%B8%B0</link>
      <description>&lt;P&gt;jquery 로 selectBox option&amp;nbsp; 값 중 값이 1인 걸 지우는게 가능 할까나?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;출처 : &lt;A href=&quot;http://mylife365.tistory.com/112&quot;&gt;http://mylife365.tistory.com/112&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Text로 찾을 경우&lt;/P&gt;
&lt;P&gt;$(&quot;select[name='test'] option:contains('테스트5')&quot;).attr(&quot;selected&quot;, &quot;selected&quot;);&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;$(&quot;select[name='test'] option[value='테스트3']&quot;).attr(&quot;selected&quot;, &quot;selected&quot;);&lt;/P&gt;</description>
      <category>Web/JQuery</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/304</guid>
      <comments>https://liketh.tistory.com/entry/jquery-%EB%A1%9C-selectBox-option-%EA%B0%92-%EC%B0%BE%EA%B8%B0#entry304comment</comments>
      <pubDate>Fri, 30 Dec 2016 12:47:47 +0900</pubDate>
    </item>
    <item>
      <title>JQuery와 prototype에서 $()를 사용 충돌 해결 (퍼옴)</title>
      <link>https://liketh.tistory.com/entry/JQuery%EC%99%80-prototype%EC%97%90%EC%84%9C-%EB%A5%BC-%EC%82%AC%EC%9A%A9-%EC%B6%A9%EB%8F%8C-%ED%95%B4%EA%B2%B0-%ED%8D%BC%EC%98%B4</link>
      <description>&lt;div id=&quot;post-view107324114&quot; class=&quot;post-view pcol2 _param(1)&quot; _cssquery_uid=&quot;37&quot; style=&quot;color: rgb(113, 113, 113); font-family: dotum; font-size: 12px;&quot;&gt;&lt;p&gt;&lt;span class=&quot;highlight-style&quot;&gt;[스크립 주소 &amp;nbsp;]&amp;nbsp;http://smartjuho.tistory.com/entry/JQuery-%EC%99%80-Prototype-%EC%B6%A9%EB%8F%8C-%EB%B0%A9%EC%A7%80&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;highlight-style&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;highlight-style&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;highlight-style&quot;&gt;JQuery&lt;/span&gt;와&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;prototype&lt;/span&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;이를 해결하는 방법은 아래와 같다.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;highlight-style&quot;&gt;jQuery&lt;/span&gt;&amp;nbsp;와&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;prototype&lt;/span&gt;&amp;nbsp;을 정의한 아래줄에 다음의 소스를 추가한다.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;script src=&quot;&lt;a class=&quot;con_link&quot; href=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js%22%3E&quot; target=&quot;_blank&quot; style=&quot;color: rgb(147, 148, 148);&quot;&gt;&lt;u&gt;&lt;font color=&quot;#0000ff&quot;&gt;http://ajax.googleapis.com/ajax/libs/&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;/1.4/&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;.min.js&quot;&amp;gt;&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script src=&quot;&lt;a class=&quot;con_link&quot; href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js%22%3E&quot; target=&quot;_blank&quot; style=&quot;color: rgb(147, 148, 148);&quot;&gt;&lt;u&gt;&lt;font color=&quot;#0000ff&quot;&gt;http://ajax.googleapis.com/ajax/libs/&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;ui/1.8/&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;-ui.min.js&quot;&amp;gt;&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;&lt;span id=&quot;callbacknestsmartjuhotistorycom539537&quot; style=&quot;width: 1px; height: 1px; float: right;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;highlight-style&quot;&gt;jQuery&lt;/span&gt;.noConflict();&lt;br /&gt;var j$ =&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;jQuery&lt;/span&gt;;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;위와 같이 정의해두면&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;jQuery&lt;/span&gt;에 대한 $()는 -&amp;gt; j$() 로 대체해서 사용할수 잇게된다.&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;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;strong&gt;++ 하지만!&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;의 다른 라이브러리를 다운로드 받아 사용하려면 해당 라이브러리의 $ 를 j$ 로 모두 바꿔줘야 하는 번거로움이 있다.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;strong&gt;이는 스크립트를 가져오는 순서만 잘 나열해주면 바로 해결된다.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;strong&gt;ex)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; src&quot;./&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;js/&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;-1.6.2.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;!--&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;&amp;nbsp;기본 라이브러리 --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;.&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;/js/&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;-ui-1.8.16.custom.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;!-- 별도로 다운로드 받은 라이브러리 --&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span class=&quot;highlight-style&quot;&gt;jQuery&lt;/span&gt;.noConflict();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;var j$ =&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;jQuery&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;.&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;/js/&lt;span class=&quot;highlight-style&quot;&gt;prototype&lt;/span&gt;.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;strong&gt;이런식으로&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;jquery&lt;/span&gt;를 먼저 로드하고 후에&amp;nbsp;&lt;span class=&quot;highlight-style&quot;&gt;prototype&lt;/span&gt;.js 를 로드하면 둘다 문제 없이 사용할 수 있다.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;color: rgb(113, 113, 113); font-family: dotum; font-size: 12px; width: 560px; margin-top: 30px; clear: both; height: 30px;&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Web/JQuery</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/303</guid>
      <comments>https://liketh.tistory.com/entry/JQuery%EC%99%80-prototype%EC%97%90%EC%84%9C-%EB%A5%BC-%EC%82%AC%EC%9A%A9-%EC%B6%A9%EB%8F%8C-%ED%95%B4%EA%B2%B0-%ED%8D%BC%EC%98%B4#entry303comment</comments>
      <pubDate>Thu, 29 Dec 2016 16:23:29 +0900</pubDate>
    </item>
    <item>
      <title>clone(Cloneable 인터페이스) 구현하여 복제하기</title>
      <link>https://liketh.tistory.com/entry/cloneCloneable-%EC%9D%B8%ED%84%B0%ED%8E%98%EC%9D%B4%EC%8A%A4-%EA%B5%AC%ED%98%84%ED%95%98%EC%97%AC-%EB%B3%B5%EC%A0%9C%ED%95%98%EA%B8%B0</link>
      <description>&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;복사 대상이 되는 클래스는 java.lang.Cloneable 인터페이스를 반드시 구현(implements)해야 한다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;복사 대상이 되는 클래스가 직접 구현해도 상관없고, 상위 클래스 어딘가에서 구현해도 괜찮으며, Cloneable의 하위 인터페이스를 구현해도 상관없다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;Cloneable 인터페이스를 구현한 클래스의 인스턴스는 clone메소드를 호출하면 복사된다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;clone메소드를 사용하는 방법은&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;
&lt;P  style=&quot;MARGIN-LEFT: 45.05pt; TEXT-INDENT: -20pt; tab-stops: list 45.05pt; mso-list: l7 level1 lfo11&quot;&gt;&lt;FONT size=3&gt;&lt;SPAN  style=&quot;FONT-FAMILY: Wingdings; mso-fareast-font-family: 굴림&quot;&gt;n&lt;SPAN style='FONT: 7pt &quot;Times New Roman&quot;; font-size-adjust: none; font-stretch: normal'&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN  style=&quot;FONT-FAMILY: 굴림&quot;&gt;public Object clone()메서드의 재정의와 protected native Object clone메서드 사용&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P  style=&quot;MARGIN-LEFT: 45.05pt; TEXT-INDENT: -20pt; tab-stops: list 45.05pt; mso-list: l7 level1 lfo11&quot;&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;MARGIN-LEFT: 45.05pt; TEXT-INDENT: -20pt; tab-stops: list 45.05pt; mso-list: l7 level1 lfo11&quot;&gt;&lt;FONT size=3&gt;&lt;SPAN  style=&quot;FONT-FAMILY: 굴림&quot;&gt;인데..&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P  style=&quot;MARGIN-LEFT: 45.05pt; TEXT-INDENT: -20pt; tab-stops: list 45.05pt; mso-list: l7 level1 lfo11&quot;&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;MARGIN-LEFT: 45.05pt; TEXT-INDENT: -20pt; tab-stops: list 45.05pt; mso-list: l7 level1 lfo11&quot;&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;아래의 경우 super를 붙여준 이유는 super를 빼버리면 자기 자신이 가지고 있는&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;(즉, 오버라이드한 clone)을 호출하게 되므로 무한루프가 돌아서 stack over flow가 발생하게 된다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;따라서 아래와 같이 해주던지..super를 빼려고 한다면&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;createclone등으로 이름을 바꿔주고 호출하면 된다...&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;class SimpleClone implements Cloneable{&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;!--?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /--&gt;&lt;?xml:namespace prefix = &quot;o&quot; /&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;public int count=0;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;public SimpleClone(int count){&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;this.count = count;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&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;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;public Object clone(){&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;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Object o = null;&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; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;try{&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; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 3&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; &lt;/SPAN&gt;o = super.clone();&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;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}catch (Exception e){System.out.println(&quot;can't clone object&quot;);}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;return o;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;public class LCopy{&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;public static void main(String args[]){&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;SimpleClone sc1 = new SimpleClone(22);&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;SimpleClone sc2 = (SimpleClone)sc1.clone();&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;System.out.println(&quot;sc1 hashCode:&quot;+sc1.hashCode() + &quot;, count의값:&quot; + sc1.count);&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&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; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;System.out.println(&quot;sc2 hashCode:&quot;+sc2.hashCode() + &quot;, count의값:&quot; + sc2.count);&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;SPAN style=&quot;mso-tab-count: 1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;%헷갈리지 말자%&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;보통 서적에 나와있는 clone을 사용하려면 그 클래스는 cloneable을 구현하고&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;clone메소드를 재정의 해줘야 한다고 나온다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;여기서 생각해보면 clone()메소드는 java.lang.Object의 메소드이고 Object 클래스는 모든 클래스의 상위 클래스인데 왜 굳이 clone()메소드를 오버라이드 해줘야 한다고 할까..?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;즉, public TestClone implements Clonable{...}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;라는 클래스가 있을때 그냥 clone이라고 사용을 해도 될텐데 왜 재정의가 필요하다고 할까?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;clone이라는 것은 자기 자신을 복제하는 메소드이다. 보통 다른 클래스에서&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;복제를 요청하거나 위의 경우만해도 Main클래스에서 테스트를 위해 clone을 호출하고 있는데&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;이 clone메소드는 Protected형이다. 따라서 재정의가 없으면 이 메소드를 다른 패키지나 상속관계에 있지 않는 클래스들은 호출 할 수 없다는 것이다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;따라서..clone()메소드를&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;public&lt;/FONT&gt;&lt;/STRONG&gt; Object clone(){&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&amp;nbsp;&amp;nbsp; return super.clone();&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;로 재정의 해주던가 아니면 아예 다른 이름으로&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;public &lt;/FONT&gt;&lt;/STRONG&gt;Object runClone(){&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&amp;nbsp; return clone(); //이 경우에는 super를 안 붙여도 됀다. 같은 이름의 메소드로 재정의 하지 않았기 때문에 자동적으로 상위 클래스에 있는 clone()메소드가 호출된다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;그래서 재정의를 해줘야 한다는 말이 나오는 것이다. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT color=#ff0000 size=3&gt;&lt;STRONG&gt;같은 이름으로 오버라이드를 해주던 다른 이름으로 다른 클래스에서 접근가능한 클래스를&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT color=#ff0000 size=3&gt;&lt;STRONG&gt;만들어주던간에 어쨋든 구현을 해주어야 다른 클래스에서 접근이 가능하기 때문이다.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;혹시 인터페이스를 구현했기 때문에 거기에&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;있는 추상메소드를 구현해야 한다고 생각하지 말자. Cloneable 인터페이스는 아무런 추상메소드도&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;가지고 있지 않다. 단지 이 인터페이스를 implements한 클래스는 clone을 사용하여 복사 가능하다&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;..라고 나타내 주는 것에 불과하다.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P  style=&quot;-ms-layout-grid-mode: char&quot;&gt;&lt;SPAN  style=&quot;FONT-SIZE: 8pt; FONT-FAMILY: 굴림; &quot;&gt;&lt;FONT size=3&gt;퍼옴 : &lt;A href=&quot;http://devyongsik.tistory.com/60&quot;&gt;http://devyongsik.tistory.com/60&lt;/A&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <category>Program_Language/Java</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/302</guid>
      <comments>https://liketh.tistory.com/entry/cloneCloneable-%EC%9D%B8%ED%84%B0%ED%8E%98%EC%9D%B4%EC%8A%A4-%EA%B5%AC%ED%98%84%ED%95%98%EC%97%AC-%EB%B3%B5%EC%A0%9C%ED%95%98%EA%B8%B0#entry302comment</comments>
      <pubDate>Tue, 9 Aug 2016 18:45:25 +0900</pubDate>
    </item>
    <item>
      <title>JSTL 태그 - fn</title>
      <link>https://liketh.tistory.com/entry/JSTL-%ED%83%9C%EA%B7%B8-fn</link>
      <description>&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;fn:contains(string, sbustring)&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string이 substring을 포함하면 return True&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:containsIgnoreCase(string, sbustring)&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;대소문자 관계없이 string이 substring을 포함하면 return True&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:endsWith(string, suffix)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string이 suffix로 끝나면 return True&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:escapeXml(string)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;stting에 XML과 HTML에서 특별한 의미를 가진 문자들이 있으면, &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;XML엔티티 코드로 바꿔준뒤 문자열 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;fn:indexOf(string, sbustring)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&amp;nbsp;string에서 substring이 처음으로 나타나는 인덱스 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;SPAN id=callbacknestthdnf1004tistorycom367718 style=&quot;HEIGHT: 1px; WIDTH: 1px; FLOAT: right&quot;&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;fn:join(array, separator)&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;array요소들을 separator를 구분자로 하여 연결해서 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;fn:length(item)&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;item이 배열이나 컬렉션이면 요소의 객수를 문자열이면 문자의 객수를 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;fn:replace(string, before, after)&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string내에 있는 before 문자열을 after 문자열로 모두 변경해서 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:split(string, separator)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string내의 문자열 separetor에 따라 나누어서 배열로 구성해서 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:startsWith(string, prefix)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string이 prefix로 시작하면 return True&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:substring(string, begin, end)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string에서 begin인덱스에서 시작해서 end인덱스에 끝나는 부분의 문자열 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:substringAfter(string, sbustring)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string에서 substring이 나타나는 이후의 문자열 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;fn:substringBefore(string, sbustring)&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string에서 substring이 나타나는 이전의 문자열 반환&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:toLowerCase(string)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string을 모두 소문자로 바꿔 리턴&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;br /&gt;&lt;/FONT&gt;&lt;FONT style=&quot;BACKGROUND-COLOR: rgb(153,220,255)&quot; color=#000000&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;SPAN style=&quot;COLOR: rgb(255,0,221)&quot;&gt;fn:toUpperCase(string)&amp;nbsp;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN style=&quot;COLOR: rgb(0,0,0); BACKGROUND-COLOR: rgb(255,255,255)&quot;&gt;string을 모두 대문자로 바꿔 리턴&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;퍼옴 : &lt;A href=&quot;http://thdnf1004.tistory.com/entry/JSTL-%ED%83%9C%EA%B7%B8-fn&quot;&gt;http://thdnf1004.tistory.com/entry/JSTL-%ED%83%9C%EA%B7%B8-fn&lt;/A&gt;&lt;/P&gt;</description>
      <category>Web/JSP</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/301</guid>
      <comments>https://liketh.tistory.com/entry/JSTL-%ED%83%9C%EA%B7%B8-fn#entry301comment</comments>
      <pubDate>Tue, 9 Aug 2016 18:42:20 +0900</pubDate>
    </item>
    <item>
      <title>jQuery serializeArray() 사용 예</title>
      <link>https://liketh.tistory.com/entry/jQuery-serializeArray-%EC%82%AC%EC%9A%A9-%EC%98%88</link>
      <description>&lt;P&gt;serializeArray()는&lt;/P&gt;
&lt;P&gt;폼안에 입력요소의 값들을 object로 만들어 준다.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var fields = j$(&quot;#formID&quot;).serializeArray();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;j$.ajax({&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;url : URL,&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;type : &quot;POST&quot;&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;data : fields,&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;success:function(data){&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;},&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;error:function(data){&lt;/P&gt;
&lt;P style=&quot;MARGIN-LEFT: 2em&quot;&gt;}&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;</description>
      <category>Web/JQuery</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/300</guid>
      <comments>https://liketh.tistory.com/entry/jQuery-serializeArray-%EC%82%AC%EC%9A%A9-%EC%98%88#entry300comment</comments>
      <pubDate>Thu, 4 Aug 2016 10:11:54 +0900</pubDate>
    </item>
    <item>
      <title>[mysql]select for update for update transaction</title>
      <link>https://liketh.tistory.com/entry/mysqlselect-for-update-for-update-transaction</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;특정 row에 lock를 걸어서&lt;/P&gt;
&lt;P&gt;다른 세션의 'select&amp;nbsp;for update' 혹은 'select lock in share mode' 쿼리를 블락하고&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;select * from tableNm where column_name = '1' for update&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;http://blog.daum.net/hazzling/17187062&quot;&gt;http://blog.daum.net/hazzling/17187062&lt;/A&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;</description>
      <category>DB/Mysql</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/299</guid>
      <comments>https://liketh.tistory.com/entry/mysqlselect-for-update-for-update-transaction#entry299comment</comments>
      <pubDate>Thu, 28 Jul 2016 18:38:25 +0900</pubDate>
    </item>
    <item>
      <title>어노테이션 resource 후 서버 에러 시 해결 방법</title>
      <link>https://liketh.tistory.com/entry/%EC%96%B4%EB%85%B8%ED%85%8C%EC%9D%B4%EC%85%98-resource-%ED%9B%84-%EC%84%9C%EB%B2%84-%EC%97%90%EB%9F%AC-%EC%8B%9C-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95</link>
      <description>&lt;P&gt;서버 에러 로그&lt;/P&gt;
&lt;P&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'or****': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.***.common.service.***] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: &lt;A href=&quot;mailto:{@javax.annotation.Resource(shareable=true&quot;&gt;{@javax.annotation.Resource(shareable=true&lt;/A&gt;, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)}&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;context:component-scan base-package=&quot;egovframework,추가할패키지&quot;&amp;gt;&lt;br /&gt;&amp;lt;context:include-filter type=&quot;annotation&quot; expression=&quot;org.springframework.stereotype.Service&quot;/&amp;gt;&lt;br /&gt;&amp;lt;context:include-filter type=&quot;annotation&quot; expression=&quot;org.springframework.stereotype.Repository&quot;/&amp;gt;&lt;br /&gt;&amp;lt;context:exclude-filter type=&quot;annotation&quot; expression=&quot;org.springframework.stereotype.Controller&quot;/&amp;gt;&lt;br /&gt;&amp;lt;/context:component-scan&amp;gt;&lt;br /&gt;&lt;/P&gt;</description>
      <category>Web/Spring</category>
      <author>Request</author>
      <guid isPermaLink="true">https://liketh.tistory.com/298</guid>
      <comments>https://liketh.tistory.com/entry/%EC%96%B4%EB%85%B8%ED%85%8C%EC%9D%B4%EC%85%98-resource-%ED%9B%84-%EC%84%9C%EB%B2%84-%EC%97%90%EB%9F%AC-%EC%8B%9C-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95#entry298comment</comments>
      <pubDate>Tue, 12 Jul 2016 19:42:48 +0900</pubDate>
    </item>
  </channel>
</rss>