차근차근 911

붙여넣기 이벤트 감지 후 클립보드 내용 변경하기 - 안됨

네이버 에디터를 사용중인데 에디터에 스크립트를 붙여넣기 하는 경우..텍스트를 변경하려고 한다. 일단 네이버 에디터만드는 부분 일부 var oEditors = []; // 추가 글꼴 목록 //var aAdditionalFontSet = [["MS UI Gothic", "MS UI Gothic"], ["Comic Sans MS", "Comic Sans MS"],["TEST","TEST"]]; nhn.husky.EZCreator.createInIFrame({ oAppRef: oEditors, elPlaceHolder: "ir1", sSkinURI: "SmartEditor2Skin.html", htParams : { bUseToolbar : true,// 툴바 사용 여부 (true:사용/ false:사용하지 않..

자바 엑셀 생성-암호걸기-다운로드

[ 만들고자 하는 기능 ] 스프링 jsp화면에서 a태그 누르면 js함수타고 ajax로 controller로 진입해서 엑셀파일 만들고 만들어진 문서에 암호걸고 사용자에게 다운로드 [ 추가한 jar ] poi-3.16.jar poi-ooxml-3.16.jar poi-ooxml-schemas-3.16.jar commons-collections4-4.1.jar xmlbeans-2.6.0.jar * poi4부터는 자바 1.8이상만 지원 poi3.11~3.x는 자바 1.6이상 필요 poi3.17까지는 자바 1.6지원 나는 자바 1.8이라서 3.16사용하려고함. https://akageun.github.io/2018/07/12/poi-excel-password.html [Apache poi] 엑셀파일에 암호걸기 언제..

차근차근/Spring 2022.08.12

jasypt2

[문서 & 참조] http://www.jasypt.org/maven.html http://www.jasypt.org/spring31.html https://limitx.tistory.com/6 https://java.elex.pe.kr/2017/11/jce-180151.html https://m.blog.naver.com/0131v/220153940267 https://zamezzz.tistory.com/135 https://devchul.tistory.com/32 https://java.elex.pe.kr/2017/11/jce-180151.html [적용 순서 & 현재까지 진행사항] 1. pom.xml에 Jasypt 디펜던시 추가 2. root-context.xml에 프로퍼티 설정 3. root-con..

차근차근/Spring 2022.07.25

이미지 첨부파일 다운로드 시 유효성 체크하기

//url : 다운로드 할 이미지 전체 //ex) chrome://new-tab-page/icons/google_logo.svg //filename : 사용자가 파일을 내려받았을 때 보여지는 파일명 function fn_isValidHttpsURL(url , filename){ // url.match : url형식에 맞는지 확인 var res = url.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g); //url형식이 맞다면~ if(res !== null){ $.ajax({ type:"get" ,url : url ,success : function(respons..

ORA-01461 Long 열에 입력할때만 Long 값을 바인딩 할 수 있다.

https://blog.naver.com/PostView.naver?blogId=zzxx4949&logNo=221417580002&redirect=Dlog&widgetTypeCall=true&directAccess=false ORA-01461: LONG 값은 LONG 열에 삽입할 때만 바인드할 수 있습니다. ORA-01461: LONG 값은 LONG 열에 삽입할 때만 바인드할 수 있습니다. 에러는 오라클에서 스트링... blog.naver.com https://offbyone.tistory.com/331 ORA-01461 Long 열에 입력할때만 Long 값을 바인딩 할 수 있다. Oracle 데이터베이스 입력 쿼리에서 "ORA-01461: can bind a LONG value only for inse..

차근차근/Oracle 2022.07.05

oracle | mybatis | insert all | foreach

https://mybatis.org/mybatis-3/dynamic-sql.html mybatis – MyBatis 3 | Dynamic SQL Dynamic SQL One of the most powerful features of MyBatis has always been its Dynamic SQL capabilities. If you have any experience with JDBC or any similar framework, you understand how painful it is to conditionally concatenate strings of SQL together, mak mybatis.org SELECT * FROM POST P #{item} 일단 이게 기본 코드 검색해보면 자..

차근차근/Oracle 2022.06.14
반응형