본문 바로가기

프로그래밍79

jsp 페이지에서 보안서버 http 로 접근시 --> https 로 이동 jsp 페이지에서 보안서버 http 로 접근시 --> https 로 이동 String url = javax.servlet.http.HttpUtils.getRequestURL(request).toString(); if(url.indexOf("http://") > -1 ) { response.sendRedirect(url.replaceAll("http://","https://") +"?"+ request.getQueryString()); return; } 2012. 9. 12.
keytool 유틸리티를 사용하여 인증서를 편집, 삭제하는 방법 "C:\Program Files\Java\jre6\bin\keytool.exe" -genkey -keyalg rsa -alias tomcat -keystore crosscert "C:\Program Files\Java\jre6\bin\keytool.exe" -import -alias tomcat -keyalg rsa -file csr.txt -keystore crosscert "C:\Program Files\Java\jre6\bin\keytool.exe" -import -alias root -trustcacerts -file root.cer -keystore crosscert "C:\Program Files\Java\jre6\bin\keytool.exe" -import -alias Intermediate.. 2012. 9. 12.
jqgrid 셀 이벤트 colModel:[ //{name:'ORG_NO', edittype:"checkbox" , hidden:false,index:'ORG_NO',width:30,sorttype:"string",editable:false,align:"center"}, {name:'ORG_NO_CH',index:'ORG_NO_CH' ,width:30, editable: true , align:"center" ,edittype:"checkbox",editoptions: {value:"true:false"},formatter:"checkbox",formatoptions:{disabled:false},sortable:false ,dataEvents:[ {type:'change',fn:function(e){alert(e)}} ,{ty.. 2012. 9. 7.
jqgrid - 체크 박스 colModel:[{name:'ORG_NO_CH',index:'ORG_NO_CH' ,width:30, editable: true , align:"center" ,edittype:"checkbox",editoptions: {value:"true:false"},formatter:"checkbox",formatoptions:{disabled:false},sortable:false}] 2012. 9. 7.