일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- PHP
- oracle
- dock
- Ajax
- Struts
- sencha touch
- 선택적조인
- rowspan
- 전자정부프레임워크
- MFC
- swingx
- 가우스
- Google Map
- PLSQL
- Android
- JSON
- appspresso
- tomcat
- Spring
- MySQL
- jsr 296
- GPS
- JDOM
- ibsheet
- jQuery
- Eclipse
- WebLogic
- phonegap
- iBATIS
- node.js
- Today
- Total
목록Developement/Java (204)
Where The Streets Have No Name
출처 : http://kimgisa.net/210 쿠키에 속성값을 한글로 저장하기 위해서는 몇가지 과정이 필요하다. 한글이나 특수문자, 그리고 유니코드들은 쿠키에 저장하기전에 URLEncoder 로 인코딩을 하고, 사용할 때 URLDecoder로 디코딩해주어야 한다. URLEncoder및 URLDecoder는 java.net 패키지에 있다. 다음은 서블릿에서의 예제이다. -------------------------- 1. 폼에서 서블릿으로 넘어온 값을 쿠키에 저장하는 예제 .... response.setContentType("text/html;charset=EUC-KR"); request.setCharacterEncoding("euc-kr"); String username = request.getPar..
// Command.java package ehr.test; public interface Command { public void execute(); } //NonCommand.java package ehr.test; public abstract class NonCommand implements Command{ public abstract void work(); public void execute(){ // 공통코드작성 System.out.println("NonCommand.execute()"); work(); // 공통코드작성 } } //TxCommand.java package ehr.test; public abstract class TxCommand implements Command { public ..
출처: http://blog.naver.com/pluggers/150007370686 https://eclipse-plugin.projects.dev2dev.bea.com/ 일반적으로 롬보즈를 많이 사용하긴 하지만.. 롬보즈의 경우는 이클립스 버전문제등 사소한 충돌이 많어서.. 먼저 com.bea.weblogic.eclipse-2.0.0.zip 파일을 위 싸이트에서 다운받는다. 1.1.1 Version 을 사용해도 무관하나 2.0.0버전에는 각가의 프로젝트에 따른 여러개의 도메인을 세팅할수가 있기때문에 장점이 많다. 아직 베타버전이긴 하지만.. 충분히 버전의 가치가 있는듯 ^^ 다운 받은 zip파일을 이클립스의 eclipse\plugins 폴더에 압축해제한다.. 플러그인을 재로딩 하기위해 이클립스를 재기..
jdk1.4의 최신버전을 설치할 경우 oc4j9.0.3을 설치한 경우 jsp 컴파일시 에러 발생 [해결방법] jdk의 lib\tools.jar를 oc4j아래의 jdk 폴더및에 해당 폴더에 복사 [참고] http://forums.oracle.com/forums/message.jspa?messageID=414556
출처 : http://popfly.egloos.com/4135379 JFace를 위해 buildpath 설정 org.eclipse.jface org.eclipse.core.commands org.eclipse.equinox.common org.eclipse.swt => swt.jar org.eclipse.equinox.common
============================================= 본문서는 자유롭게 배포/복사 할수 있지만 이문서의 저자에 대한 언급을 삭제하시면 안됩니다 저자 : GoodBug (unicorn@jakartaproject.com) 최초 : http://www.jakartaproject.com ============================================= LOG4J I. 들어가면서.. 그리고 log4j log4j는 자바 어플리케이션에서 빠르고 효과적으로 로깅 할 수 있도록 도와주는 오픈 소스 프로젝트입니다. 로깅(logging)은 코드의 가독성을 떨어뜨리는 단점이 있지만 애플리케이션에 문제가 있을 때 개발자가 자세한 상황을 파악할 수 있도록 해 주며 테스팅시 빠질 수 없..
출처: http://frantik.tistory.com/57 [INSTALLATION] 1. 이클립스의 메뉴중 "Help" -> "Sotfware Updates" -> "Update Manager"를 실행한다. 2. 업데이트를 위한 새로운 북마크를 만들어준다. 아래의 정보로... URL : http://propedit.sourceforge.jp/eclipse/updates/ 3. 이클립스 버전에 맞는 PropertiesEditor를 선택해서 설치해준다. 4. 설치후 이클립스를 재시작할까요? 라는 메세지로 다시 시작해준다.
java 6.0 기반을 작성된 웹소스를 5.0기반의 시스템에서 wtp서버에 add project를 하면 Project facet Java version 6.0 is not supported. 란 에러메세지가 발생합니다. 위의 에러를 피해가려면 아래 파일의 내용을 수정해야합니다. 위의 6.0을 5.0으로 수정하면 add project가 정상적으로 작동합니다. 다른 방법으로는 Project Explorer에서 해당 프로젝트의 properties를 열어서 Project Facets를 선택하고 내용을 수정하면 됩니다. 참고 : http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.wst.doc.isv/html/facets/tutorial/tutorial.html
http://decoder.tistory.com/19 http://decoder.tistory.com/27
참고 : http://www.ibm.com/developerworks/kr/library/wa-spring1/ import org.springframework.context.support.ClassPathXmlApplicationContext; . . . ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(new String[] { "springexample-creditaccount.xml" }); CreateCreditCardAccountInterface creditCardAccount = (CreateCreditCardAccountInterface) appContext.getBean("createCreditCar..
참고 : Eclipse WTP + Tomcat5.5 defaultContext 설정 wtp상의 서버설정을 tomcat으로 해서 start를 하면 tomcat에 기본적으로 설정된 root context의 페이지들을 접근하지 못합니다. 그래서 새로운 project를 만들어서 새로운 context를 설정해서 시작해야합니다. 마지막으로 프로젝트를 add해야만 정상적인 접근이 가능합니다. http://localhost:8080/으로 접속
출처 : http://claztec.net/2460706 참고 : http://www.okjsp.pe.kr/seq/112631 이클립스 사용중 발생하는 jvm terminated. exit code -1 로 시작하는 에러. 이클립스가 아에 열리지 않는다. 이전엔 윈도우가 충돌나서 jvm에 영향을 주어 발생하는 줄 알았는데 그게 아닌가 보다. eclipse폴더안의 ecilpse.ini파일을 수정해 주면 된다. -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256M -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m 이 부분의 에서 --launcher.XXMaxPermSize 256M 를 삭제하면 된다...
http://oracle.anilpassi.com/oa-framework-tutorials-training-2.html
http://gyumee.egloos.com/1471952
참고 : http://theblasfrompas.blogspot.com/2008/02/variable-in-list-with-oracle-jdbc-and.html I always wanted to create a variable in list query using a single parameter and found that it wasn't possible with JDBC. SELECT * FROM DEPT WHERE like DEPTNO IN (?); Then I stumbled upon this on steve's blog, which he shows how he did it in ADF BC using a SQL function. http://radio.weblogs.com/0118231/stor..
http://openframework.or.kr/JSPWiki/Wiki.jsp?page=IntroductionBuildingRESTfulWebServicesInJavaUsingEclipse
Step 1 : Mofify Spring-Config.xml Step 2 : Include the Spring-DAO-SQL-Config.xml = :MIN_SALARY AND SALARY SELECT * FROM EMP WHERE EMP_NO = :EMP_NO Step 3 : Introduce AbsBaseDAO.java package com.bea.dev2dev.dao.helper; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport; /** * * @author Dhrubo */ public class AbsBaseDAO extends NamedParameterJdbcDaoSupport{ private SQLCac..
여러종류의 서블릿컨테이너를 사용하다 보면 에러메세지를 로그파일에만 기록하고 console에 출력할수 없는 경우가 생기기도 합니다. 지금 사용하는 resin 2.1버전이 그렇네요 이때 사용자 화면에 보이지 않는 jsp같은 것이 에러가 날시에 일일이 error.log를 확인해야하는 반복작업을 해야합니다. 그래서 로그를 이클립스에서 바로 보는 플러그인이 없나해서 찾다가 발견한게 LogWatcher입니다. 설정은 아직 많이 안써봐서 모르겠지만 simple하고 괜찮은것 같습니다. 로그의 내용을 실시간으로 이클립스상에서 확인하려는 분에게 강추합니다. http://graysky.sourceforge.net/
http://wagenknecht.org/blog/archives/2006/03/resin-plug-in-for-eclipse.html
출처 : http://blog.naver.com/whily312/100037185655 레진은 톰켓과 같은 was 이다.다만 레진은 윈도우 계열에 더욱 최적화 되어 있고톰켓은 유닉스와 윈도우 계열에 최적화 되어있다. 이클립스 3.2 부터는 resin을 지원하지 않기 때문에 java응용프로그램에서 따로 설정을 해줘야한다. 먼저 레진3.0을 다운받아 톰켓처럼 압축을 풀어주면 된다. (따로 설치 없음)perspective를 java로 클릭하여 패키지형태로 해놓는다.(자원에서 설정할수 없음) 추가할 라이브러리 만들어주기[창] -> [환경설정] -> [java] -> [빌드경로] -> [사용자라이브러리] -> [새로작성하기] 이름은 대충 지어주고 resin\lib에 있는 jar를 몽땅 추가해 주고 확인 디버그 ▼..