본문 바로가기

전체 글

(253)
nginx Apaceh HTTP Server 대용으로 쓰이는 것 같다. 현재까지는 설정과 성능이 훨 뛰어나다 한다. tomcat 과 연동도 시도해봐야겠다. http://wiki.nginx.org dasida 님께 정보 감사.
DBManager.java 출처: http://www.itroad.org/?mid=p_java&document_srl=22455 DBManager.java import java.sql.*; import java.util.*; import java.lang.reflect.*; import javax.sql.DataSource; import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * DB Admin * @author Winter Lau * @date 2010-2-2 下午10:18:50 */ public class DBManager { privat..
jrebel - hot deploy plugin 죽인다..... http://www.zeroturnaround.com/jrebel/ class나 xml 변경시 republish 하지 않고 바로 적용되게 해주는 플러그인.. 자세한 내용은 검색 및 홈페이지 방문.
freeMind - 마인드맵 프로그램. http://freemind.sourceforge.net/wiki/index.php/Main_Page
javamail을 이용한 메일보내기. 일단 필요한 것. javamail.jar (javamail) activation.jar (JAF - java activation Framework) 그리고 테스트 해볼수 있는 smtp 서버. 요런것도 괜찮음. // SMTP IP String smtphost = "xxx.xxx.xxx.xxx"; // 보내는 사람 String mailFrom = "test@daum.net"; // 받는 사람 String mailTo = "test@naver.com"; // 메일제목 String subject = "메일테스트입니다."; // 메일본문 String contents = "" + "테스트 메일" + " " + ""; Properties properties = System.getProperties(); propert..
struts-config.xml 에 datasource 추가 ( strtus 1.3 미만 ) 출처 : http://levin01.tistory.com/1558 그다음 접속은 꼭 Action클래스 안에서 하셔야 합니다. DataSource를 가져올때 상속받은 Action클래스의 getDataSource() 메소를 사용하기 때문이죠. DataSource ds = getDataSource(request); 그다음 나머지 처리는 일반적인 방식과 똑 같습니다^^ 출처 : http://levin01.tistory.com/1558 struts 1.3 이상 버전에서는.. JNDI 설정 해서 DataResource 사용하는 방법이나, DBConnection Pool Class 하나 만들어서 사용하던지, 뭐 알아서!
특수문자 코드표 출처: http://www.webmini.net/43964 Hex Code Entity Code Number Code Character Description " " " Quotation Mark & & & Ampersand ⁄ / / Slash < < Greater Than Sign ‚ ‚ ‚ Single Low-9 Quote „ „ „ Double Low-9 Quote † † † † Dagger ‡ ‡ ‡ Double Dagger ‰ ‰ ‰ Per Mill Sign ‹ ‹ ‹ Single Left Angle Quote ‘ ‘ ‘ Left Single Quote ’ ’ ’ Right Single Quote “ “ “ Left..
[ASP] 현재 URL 및 웹페이지 경로 찾기 출처 : http://www.happyjung.com/gnuboard/bbs/board.php?bo_table=lecture&wr_id=181&sca=ASP&page=4 1. 현재 홈페이지 UTL 찾기 예> happyjung.com 2. 현재 페이지 경로 찾기 예> /v4/index.php 3. 현재 페이지의 URL 찾기 예> happyjung.com/v4/index.php 출처 : http://www.happyjung.com/gnuboard/bbs/board.php?bo_table=lecture&wr_id=181&sca=ASP&page=4