[was][jeus] Class나 XML 파일 자동으로 반영되게 설정 jeus-web-dd.xml 파일에서 다음과 같이 설정한다. 1234567891011121314 0 60 / true true false -1 false falseColored by Color Scriptercs enable-reload의 값을 true로 하면 Class가 변경될 때 자동으로 리로드한다.그러나 XML이나 다른 파일들은 리로드 하지 않는다. check-on-demand은 요청이 왔을 때 리로드를 할 것인지를 설정한다. 프로그램 2014.08.01
[was][jeus] include한 JSP. 자동으로 빌드 설정. 환경WAS : JEUS 목적웹 페이지를 개발할때 중복 부분은 페이지로 따로 만들어 나중에 각 VIEW JSP 에 INCLUDE를 하는 방법을 많이 사용할 것이다. 이때 이 피 INCLUDE된 CHILD JSP 파일을 새로 배포하게 되면 WAS는 이 파일이 새로 갱신된 사실을 인지 하지 않는 경우가 있다. 이 이유는 WAS는 일반적으로 JSP 파일의 수정 일자를 보고 현재 자신이 빌드한 JSP 파일의 수정 시간과 비교해 JSP파일이 더 나중의 것이라면 다시 빌드해 갱신하게 되는데, 이 JSP 파일이 PARENT JSP(INCLUDE한) 일경우 , CHILD JSP가 갱신되었더라도 WAS는 PARENT 파일의 수정일자만 확인하기 때문에 새로 빌드하지 않아 갱신되지 않는 경우이다.이럴 경우를 위해 JEUS에서.. 프로그램 2014.08.01
[java] Spring Beans Problem 오류 원인eclipse의 spring 기능 상에 spring security 스키마를 정상적으로 처리하지 못해 발생되는 문제입니다. 실제 실행시에는 문제가 되지 않지만, eclipse에 오류를 없애시려면 spring tool 기능을 비활성화 시키시면 됩니다. 해결방법프로젝트 선택 후 Spring Tools -> Remove Spring Project Nature로 .. spring tool 기능 비활성화 개발 2014.07.31
[javascript] 페이스북 api 연동 1. 자바스크립트1234567891011121314151617181920212223242526Colored by Color Scriptercs 2. facebook.html1234567891011121314151617 Colored by Color Scriptercs 3. https://developers.facebook.com/tools/debug/ 확인 개발 2014.07.23
[oracle] 연락처 자르기 (-) 123456789101112select count(*) from ( select replace( replace(PHONE, '-' ), ' ' ,'' ) from 테이블명 where substr(replace( replace(PHONE, '-' ), ' ' ,'' ),0,3) in ( '010', '011', '016', '018', '017' ) group by replace( replace(PHONE, '-' ), ' ' ,'' ) )Colored by Color Scriptercs 데이터베이스 2014.07.14
[javascript] 지정 시간 후 실행 * 지정 시간 후 실행 (setTimeout)12345$(document).ready(function(){ setTimeout(function(){ //실행 }, 11700); //시간설정 }); Colored by Color Scriptercs * 지정 시간 후 실행 반복 (setInterva)12345$(document).ready(function(){ setInterval(function(){ //실행 }, 11700); //시간설정 }); Colored by Color Scriptercs 개발 2014.07.14
[javascript] 구글맵 마커 아이콘 변경 12345678var myIcon = new google.maps.MarkerImage("/image/iconImg.png", null, null, null, new google.maps.Size(12,20)); marker = new google.maps.Marker({ position: latlng, map: map, icon: myIcon, title : "마우스 오버 시 정보창 출력됨" });Colored by Color Scriptercs 개발 2014.07.10
[javascript] 모바일 여부 체크 12345var ua = String( navigator.userAgent ).toLowerCase(); if(/mobile/.test(ua)){ location.href = "이동 URL";}Colored by Color Scriptercs 개발 2014.07.08
[javascript] 라디오버튼 체크시 변환, textarea 내용 입력 1234567891011121314151617181920212223function chk() { if ($("input[name='gubun']").eq(1).is(":checked")) { $("#area").css("display", ""); $("#add_user").css("display", ""); $(".agreemt_shot").css("display", "none"); $("textarea[name='ctnt']").val("1. 일자 : \r\n2. 시간 : \r\n3. 상호명 : \r\n4. 내용 : "); //로그인여부 확인 if (!uid.trim()) { alert("로그인을 해주세요"); parent.location.href = "../member/login.aspx"; } } .. 개발 2014.07.08