[JAVA] 메서드의 인자로 Class 형식이 주어졌을 때 무엇을 넣어야 하나?
ArrayList.class 와 같은 형식으로 넣어 준다.
ArrayList.class 와 같은 형식으로 넣어 준다.
– 출처 : http://blog.daum.net/pieea/5565755 – @Path – Path annotation value is a relative URI path to the resource. A resource class must have this annotation either at the class level or for the methods defined in the resource class. The annotation also provides the facility for embedding variables and creating URI path templates. => URI와 서비스를 맵핑시켜서… Read More »
1. 기존 헤더에 추가하려는 것과 같은 키값이 없을 때에는 addHeader()나 setHeader()나 동일하게 동작한다. 2. 기존 헤더에 추가려하려는 것과 같은 키값이 존재할 경우. – addHeader() : 그 키에 해당하는 값을 하나 더 추가한다. – setHeader() : 새롭게 설정한 값으로 덮어 쓴다. 일단 이렇게 정리하기는 했지만 완벽히 위와 같이 동작하지는 않는다. 꼼꼼한 디버깅이 필요하다.
http://xstream.codehaus.org/ 여기서 toXml(), fromXML() 이었나…?
UNION 하려는 단위 쿼리에서 ORDER BY를 사용하지 않았는지 체크해 보자. 굳이 단위 쿼리별로 ORDER BY를 사용하려 한다면 단위 쿼리를 한 번 감싸서 그 안에서 써 주자
http://gothamsi.blog.me/98314013
토드(Toad)나 sqlplus 에서 쿼리를 스크립트를 실행할 때, 쿼리 데이터 문자열 중에 & 가 포함되어 있을 경우, 자동적으로 파라미터 입력을 받기위한 모드로 전환되게 되는데. 이를 해결하는 방법이 있다. 예를 들어 ‘http://localhost/test.do?cmd=main&category=100’ 이라는 문자열을 INSERT한다고 했을때, 이 문자열을 다음과 같이 수정하여 쿼리에 넣어주면 된다. ( & 직후에 문자열을 분리하여 다시 concat ) ‘http://localhost/test.do?cmd=main&’||’category=100’ – 출처 : http://backatthefarm.blogspot.com/2005/05/oracle-sqlplus-issue.html –
1. 윈도우 가상화를 사용하여 XP를 띄우고 IE7을 설치하여 사용. 2. 크롬플러스를 설치한 후 ‘새 IE 탭 열기’ 로 IE탭을 열어서 사용
http://dojeun.egloos.com/317868
윈도우 상에서 자바 컴파일을 할 때는 에러가 없다가 리눅스에서 컴파일을 하니 에러가 난 케이스가 있었다. 구글링을 해 보니 “sun.* 계열 패키지의 클래스들은 플랫폼에 대해 완전히 독립적이지 않기 때문에 모든 플랫폼에서의 작동을 보증할 수 없다” 라는 뜻인것 같다. -_-; 다음의 링크에 상세 설명이 들어 있다. http://java.sun.com/products/jdk/faq/faq-sun-packages.html
http://itbruce.tistory.com/84 http://akrsodhk.blog.me/40116223449
http://www.jarvana.com/jarvana/view/org/mybatis/mybatis/3.0.2/mybatis-3.0.2-javadoc.jar!/org/apache/ibatis/type/JdbcType.html
http://blog.naver.com/tyboss?Redirect=Log&logNo=70094879657 cfile1.uf.207205354D2A615527C48F.zip
http://flyburi.com/460 http://www.vogella.de/articles/REST/article.html http://cxf.apache.org/docs/jax-rs-basics.html
http://blog.punchbarrel.com/2008/10/31/rest-is-not-crud-and-heres-why/
http://blog.naver.com/chhnyb4/140060591270
# 참고문헌 http://hher.tistory.com/49 http://httpd.apache.org/docs/2.2/ko/vhosts/examples.html # 내가 경험한 사례 – 시스템 apache2, tomcat6, php5 – 요구사항 : 80번 포트는 기존 그대로 tomcat과 연결하여 사용하고, (virtual host, mod_jk) 추가 요구사항으로 9000번 포트에 php를 사용하는 맨티스를 올려야 한다. (맨티스는 /var/www/php/mantis 에 압축해제 해 놓았다.) (1) apache2/conf/httpd.conf 에 LIsten 9000 을 추가 => #Listen 12.34.56.78:80 Listen 80… Read More »
– 출처 : http://greenalice.tistory.com/25 – 설치시 에러 나타날때 [qtam@localhost qtam]$ mysql -u root mysql ERROR 1045: Access denied for user: ‘root@localhost’ (Using password: NO) 1. -h (호스트) 적용 2. mysql killall safe_mysqld –user=mysql –skip-grant-table & 3. MySQL 을 처음 설치한 후 아무런 변경도 하지 않는 경우에는 root 사용자의 암호가 설정되 어 있지 않습니다. 따라서… Read More »
* for 문 앞에 이름을 붙여서, 다중 루프일 경우 원하는 루프를 break 하거나 continue 할 수 있다. Loop1 : for(int i=2; i<=9; i++){ for(int j=1; j<=9; j++){ if(j==5) break Loop1; //break; //continue Loop1; //continue; System.out.println(i+”*”+j+”=”+i*j); }//end of for j System.out.println(); }//end of Loop1
http://www.apmsetup.com/tutorials.php?tutid=36&uid=143#143 http://blog.naver.com/kyuseo?Redirect=Log&logNo=120013984530 메일발송 설정 Mantis 설정시 참고할만한 Q&A 모은것 Mantis 관련 유용한 정보