<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://valley.egloos.com/rss/style/style.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>이글루스 'java' 태그 최근글</title>
		<link>http://valley.egloos.com/tag/java</link>
		<description>java</description>
		<language>ko</language>
		<pubDate>Fri, 18 May 2012 10:33:46 +0900</pubDate>
		<generator>Egloos</generator>
		<item>
	<title><![CDATA[[Java] JSP 파일에서 EL expression 사용하기]]></title>
	<link>http://entireboy.egloos.com/4705181</link>
	<guid>http://entireboy.egloos.com/4705181</guid>
	<description>
	<![CDATA[ 
분명 맞는데.. 이렇게 쓰는거 맞는데.. 결과가 내가 원하는데로 안 나온다.    ...  &amp;lt;body&amp;gt;  Hello, ${user.name}  &amp;lt;/body&amp;gt;      아래처럼 생겨먹은 지저분한 녀석을 EL(Expression Language) expression을 써서 위처럼 깔쌈하게 썼는데.. 계속 이렇게 써왔는데 갑자기 프로젝트를 만드니 안 된다. 미추어버리겠고마잉~    ...  &amp;lt;body&amp;gt;  &amp;lt;% User user = request.getAttribute(&quot;user&quot;); %&amp;gt;  Hello, &amp;lt;%=user.getName()%&amp;gt;  &amp;lt;/body&amp;gt;      분명 이거 맞는데.. 썼는데.. 제대로 기억나지 않는 머리를 쥐어 뜯다가 우연히 발견했다	]]>
	</description>
	<pubDate>Fri, 18 May 2012 10:33:46 +0900</pubDate>
	<dc:creator><![CDATA[Sigel's house made of ice 。。。]]></dc:creator>
</item>
<item>
	<title><![CDATA[folder '' does not exist remotely ]]></title>
	<link>http://xxwony.egloos.com/72998</link>
	<guid>http://xxwony.egloos.com/72998</guid>
	<description>
	<![CDATA[ 
원인 : svnadmin에서 create 하지 않는 폴더를 참조하려고 할 때 발생하는 문제  해결방안 :  /home/svn/project/ 가 실 경로이고, svnadmin --fs-type fsfs /home/svn/project/sample 생성함.  (svnserve 구동 가정, root : /home/svn/project) subclipse에서 svn://localhost(or xxx.xxx.xxx.xxx)/sample 로 접근해야함. 	]]>
	</description>
	<pubDate>Mon, 14 May 2012 09:43:06 +0900</pubDate>
	<dc:creator><![CDATA[spWony]]></dc:creator>
</item>
<item>
	<title><![CDATA[C와 JAVA 구조체 소켓 통신]]></title>
	<link>http://limiteddaily.egloos.com/2929500</link>
	<guid>http://limiteddaily.egloos.com/2929500</guid>
	<description>
	<![CDATA[ 
c에서 넘겨주는 구조체정보는 java에서는 구조체가 없기때문에  c로부터 전송되는 바이트 데이터를 java에서 다시 재가공(?) 시켜줄 필요가 있다.   하지만 그 과정에서 조심하지 않으면 문자가 깨지거나, 엉뚱한 숫자 값이 나올 수 있다.  여하튼 그 문제를 해결하기 위한 방법을 알아 보자!      일단 c에서는   #pragma pack(1)  위와 같은 전처리기를 선언해줄 필요가 있는데, 이는 구조체의 정확한 메모리값을 얻기 위함이다.자세한 사항은 http://danamoni.tistory.com/entry/struct%EC%9D%98-size-%EA%B0%92%EC%9D%80 를 참고하자.  아무튼 다음과 같은 총 16바이트의 구조체를 JAVA로 전송해보자.    typedef struct test	]]>
	</description>
	<pubDate>Mon, 14 May 2012 04:14:30 +0900</pubDate>
	<dc:creator><![CDATA[Limited Daily]]></dc:creator>
</item>
<item>
	<title><![CDATA[한진정보통신 면접 후기]]></title>
	<link>http://pascaldice.egloos.com/616778</link>
	<guid>http://pascaldice.egloos.com/616778</guid>
	<description>
	<![CDATA[ 
  거의 1년 전에 다녀온 한진정보통신 면접에 대해서도 후기를 작성한다. 요즘은 다른 방식으로 진행될지 모르니 궁금한 사람은 눈요깃거리로만 봐주시기 바란다. ^^;;  회사의 위치는 등촌역 주변이었다. 건물은 대한항공이라고 적혀 있었고 다른 대한항공 직원들과 같이 건물을 사용하였다. 그러나 외부 간판에는 한진정보통신 간판은 없었다. (IT가 원래 그렇지 뭐.. ㅠㅠ) 건물 자체는 오래되었지만 관리가 잘되어 깔끔하다는 느낌을 받았다. 입구에 앉아 계신 스튜어디스(?)로 추측되는 분은 엄청난 미인이었다. (^^;)  회사 내부 분위기는 IT 회사 치고는 엄숙하게 느껴졌다. 대기업이라 그런지 몰라도 좀 답답하게 느껴졌다.한진정보통신은 기본적으로 압박 면접의 형식을 지니고 있다.   압박 면접은 과거 십수년전에 지	]]>
	</description>
	<pubDate>Sat, 12 May 2012 15:22:12 +0900</pubDate>
	<dc:creator><![CDATA[The dice]]></dc:creator>
</item>
<item>
	<title><![CDATA[throw 예제]]></title>
	<link>http://dkgka.egloos.com/65545</link>
	<guid>http://dkgka.egloos.com/65545</guid>
	<description>
	<![CDATA[ 
import java.util.Scanner;class TestException extends Exception {  public String toString(){   return(&quot;이값으로 나눌수는 없습니다.&quot;);  } }class ThrowExceptionTest {  public static void main(String args[]) {   Scanner rd = new Scanner(System.in);   System.out.print(&quot;분자를 입력하세요.&quot;);   int a =rd.nextInt();   System.out.print(&quot;분모를 입력하세요.&quot;);   int b = rd.nextInt();   int c;      try{    c = throwTest(a,b);   }   catc	]]>
	</description>
	<pubDate>Tue, 08 May 2012 10:47:56 +0900</pubDate>
	<dc:creator><![CDATA[아함의 이야기]]></dc:creator>
</item>
<item>
	<title><![CDATA[java 정규식 예제]]></title>
	<link>http://xxwony.egloos.com/65512</link>
	<guid>http://xxwony.egloos.com/65512</guid>
	<description>
	<![CDATA[ 
정규식설명결과c[a-z]*c로 시작하는 영단어c,ca,co,car,combat,count,c[a-z]c로 시작하는 두 자리 영단어ca,co,c[a-zA-Z]c로 시작하는 두 자리 영단어(a~z 또는 A~Z, 즉 대소문자 구분안함)cA,ca,co,c[a-zA-Z0-9]c\wc로 시작하고 숫자와 영어로 조합된 두 글자cA,ca,co,c0,.*모든 문자열bat,baby,bonus,c,cA,ca,co,c.,c0,c#,car,combat,count,date,disc,c.c로 시작하는 두 자리cA,ca,co,c.,c0,c#,c.*c로 시작하는 모든 문자열(기호포함)cA,ca,co,c.,c0,c#,car,combat,count,c\.c.와 일치하는 문자열'.'은 정규식표현에 사용되는 문자이므로 escape문자인 '\'를	]]>
	</description>
	<pubDate>Tue, 08 May 2012 10:15:43 +0900</pubDate>
	<dc:creator><![CDATA[spWony]]></dc:creator>
</item>
<item>
	<title><![CDATA[랜덤의 수가 들어있는 10개의 배열중 하나를 골라 보릿고개 게임]]></title>
	<link>http://dkgka.egloos.com/65486</link>
	<guid>http://dkgka.egloos.com/65486</guid>
	<description>
	<![CDATA[ 
import java.util.Scanner;public class dkgka {  public static void main(String[] args){   Scanner rd = new Scanner(System.in);   int intarray[] = new int[10];   int q=0;   int count = 0;   System.out.println(&quot;자,10개의 배열이 랜덤 생성됩니다!&quot;);      for(int i=0;i&amp;lt;10;i++){    intarray[i]=(int)Math.round(Math.random()*99+1);   }  System.out.print(&quot;몇번째 배열의 수를 선택하겠는가?: &quot;);   int k=rd.nextInt();      if(k&amp;gt;=1 	]]>
	</description>
	<pubDate>Tue, 08 May 2012 09:50:03 +0900</pubDate>
	<dc:creator><![CDATA[아함의 이야기]]></dc:creator>
</item>
<item>
	<title><![CDATA[Static 연습2]]></title>
	<link>http://dkgka.egloos.com/65485</link>
	<guid>http://dkgka.egloos.com/65485</guid>
	<description>
	<![CDATA[ 
class StaticTest2 {  static int say(String str){   System.out.println(str);   return 0;  }  static int a = say(&quot;static int a&quot;);  int b = say(&quot;int b&quot;);  static void a(){   System.out.println(&quot;static void a()&quot;);  }  void b(){   System.out.println(&quot;void b()&quot;);  }  public static void main(String args[]) {   System.out.println(StaticTest2.say(&quot;Static Test&quot;));   StaticTest2 st = new StaticTest2();  }} 	]]>
	</description>
	<pubDate>Tue, 08 May 2012 09:48:41 +0900</pubDate>
	<dc:creator><![CDATA[아함의 이야기]]></dc:creator>
</item>
<item>
	<title><![CDATA[Static 연습1]]></title>
	<link>http://dkgka.egloos.com/65484</link>
	<guid>http://dkgka.egloos.com/65484</guid>
	<description>
	<![CDATA[ 
class StaticTest {  static int say(String str){   System.out.println(str);   return 0;  }    static int a = say(&quot;static int a&quot;);  int b = say(&quot;int b&quot;);  static void a(){   System.out.println(&quot;static void a()&quot;);  }  void b(){   System.out.println(&quot;void b()&quot;);  }    public static void main(String args[]){   StaticTest.a();   StaticTest st = new StaticTest();   st.b();  }} 	]]>
	</description>
	<pubDate>Tue, 08 May 2012 09:48:19 +0900</pubDate>
	<dc:creator><![CDATA[아함의 이야기]]></dc:creator>
</item>
<item>
	<title><![CDATA[범위를 벗어난 배열의 접근]]></title>
	<link>http://dkgka.egloos.com/65477</link>
	<guid>http://dkgka.egloos.com/65477</guid>
	<description>
	<![CDATA[ 
 public class ArrayException {  public static void main(String[] args) {   int[] intArray = new int[5];   intArray[0] = 0;   try{    for(int i=0;i&amp;lt;5;i++){     intArray[i+1] = i+1 + intArray[i];     System.out.println(&quot;intArray[&quot;+1+&quot;]&quot;+&quot;=&quot;+intArray[i]);    }   }   catch (ArrayIndexOutOfBoundsException e){    System.out.println(&quot;배열의 인덱스가 범위를 벗어났습니다.&quot;);   }  }} 	]]>
	</description>
	<pubDate>Tue, 08 May 2012 09:39:09 +0900</pubDate>
	<dc:creator><![CDATA[아함의 이야기]]></dc:creator>
</item>
<item>
	<title><![CDATA[java 정규표현식 ]]></title>
	<link>http://xxwony.egloos.com/65474</link>
	<guid>http://xxwony.egloos.com/65474</guid>
	<description>
	<![CDATA[ 
1. 정규식이란? 특정한 문자열의 의 검색,치환,추출을 위한 패턴을 의미합니다.wiki에는 아래와 같이 정의하고 있습니다. A regular expression is a string that describes or matches a set of strings, according to certain syntax rules.우리는 이러한 정규식을 습득함을 통해서 수많은 이점을 가져올 수 있습니다. 2. 정규식 만들기 Java에서는 아래와 같이 정규식을 작성할 수 있습니다. Pattern p = Pattern.compile(&quot;패턴&quot;); Matcher m = p.matcher(&quot;문자열&quot;); boolean b = m.matches();  boolean b = Pattern.matches(&quot;패턴&quot;, &quot;문자열 패턴&quot;);	]]>
	</description>
	<pubDate>Tue, 08 May 2012 09:32:36 +0900</pubDate>
	<dc:creator><![CDATA[spWony]]></dc:creator>
</item>
<item>
	<title><![CDATA[[eclipse] 자주 사용하는 Eclipse 단축키]]></title>
	<link>http://hackeric.egloos.com/2935777</link>
	<guid>http://hackeric.egloos.com/2935777</guid>
	<description>
	<![CDATA[ 
자주 사용하는 Eclipse 단축키(빈도 높은것은 굵게 표시)  Eclipse 단축키 확인 및 변경Eclipse의 모든 단축키는 Window &amp;gt;&amp;gt; Preferences &amp;gt;&amp;gt; Workbench &amp;gt;&amp;gt; Keys 메뉴에서 확인 및 변경이 가능하다. 그 동안 다른 툴에서 자신의 손에 익숙한 단축키들이 있다면 이 메뉴에서 단축키들을 변경하는 것이 가능하다.  Java Editor 단축키Ctrl + Shift + T : 클래스 찾기Ctrl + Shift + R : 파일 찾기Ctrl + Shift + O : 자동으로 Import 시키기Ctrl + Shift + F : 코드 자동 정리Ctrl + Shift + M : 특정 클래스 Import 시키기Ctrl + Shift + G : 특정 메써드	]]>
	</description>
	<pubDate>Fri, 04 May 2012 20:58:57 +0900</pubDate>
	<dc:creator><![CDATA[일쌍다반사]]></dc:creator>
</item>
<item>
	<title><![CDATA[List element에 interface를 넣었더니, 불편해]]></title>
	<link>http://always19.egloos.com/2862891</link>
	<guid>http://always19.egloos.com/2862891</guid>
	<description>
	<![CDATA[ 
      public interface IA {}  public class CA implements IA {}  List&amp;lt;IA&amp;gt; iList = new ArrayList&amp;lt;IA&amp;gt;();List&amp;lt;CA&amp;gt; cList = new ArrayList&amp;lt;CA&amp;gt;();  IA ia = new CA(); // 이건 되지CA ca = new CA();  iList.add(ia); // 이것도 되겠지iList.add(ca); // 이것도 됐던 것 같다.  iList = cList; // 근데, 이게 안돼 -_-;;어찌까잉.    	]]>
	</description>
	<pubDate>Wed, 02 May 2012 15:04:19 +0900</pubDate>
	<dc:creator><![CDATA[공부가 본업.]]></dc:creator>
</item>
<item>
	<title><![CDATA[추상(abstract) 클래스 연습]]></title>
	<link>http://dkgka.egloos.com/56015</link>
	<guid>http://dkgka.egloos.com/56015</guid>
	<description>
	<![CDATA[ 
abstract class AbClass{  abstract void a();  abstract void b();  void c() {System.out.println(&quot;c() method&quot;);} }class Ac extends AbClass{  void a(){System.out.println(&quot;a() method&quot;);}  void b(){System.out.println(&quot;b() method&quot;);} }   class AbTest{  public static void main(String[] args) {   Ac ac = new Ac();      ac.a();   ac.b();   ac.c();   } } 	]]>
	</description>
	<pubDate>Mon, 30 Apr 2012 16:46:43 +0900</pubDate>
	<dc:creator><![CDATA[아함의 이야기]]></dc:creator>
</item>
<item>
	<title><![CDATA[오버라이딩 연습]]></title>
	<link>http://dkgka.egloos.com/55986</link>
	<guid>http://dkgka.egloos.com/55986</guid>
	<description>
	<![CDATA[ 
class Super{  public void a(String name){   System.out.println(&quot;i am super &quot;+name);  }  public void b(String name){   System.out.println(&quot;i am super &quot;+name);  } } class Overtest extends Super {  public void b(String name){   System.out.println(&quot;i am hyper &quot;+name);  }  public static void main(String[] args) {   Overtest ot = new Overtest();   ot.a(&quot;king&quot;);   ot.b(&quot;sword&quot;); }} 	]]>
	</description>
	<pubDate>Mon, 30 Apr 2012 16:12:50 +0900</pubDate>
	<dc:creator><![CDATA[아함의 이야기]]></dc:creator>
</item>
	</channel>
</rss>

