본문 바로가기

업무정리

SSO 로그아웃 삽질... SSO 로그아웃 삽질...크로스도메인 문제로 https 에서 http로 json 처리로 로그아웃 을 시도하였으나 실패...서버설정을 해주지않는이상 불가능... var ssoLogout = function(){ //$(_this).attr("onClick",""); //$(_this).attr("onClick","ssoLogout(this);"); $.ajax({ url : wwwDomain + "/login/logout.do", type : 'post', dataType: 'jsonp', beforeSend: function(){ console.log("진행중 구현 프로그래스바 이미지 같은거"); }, success : function(data){ var msg = data.alertBean.alertM.. 더보기
동적 셀렉트박스 등록 / 수정 Ajax 형태로 셀렉트박스를 불러올 때 신규 등록/수정 선택 선택 선택 $(function() { kppBCode("big",null,"codeId"); $(document).on("change","select[name='codeId']",function(){ setKppBoxList($(this).val(),"mid","detailCodeId",null); $("select[name='detailKPCCodeId']").html( "선택"); }); $(document).on("change","select[name='detailCodeId']",function(){ setKppBoxList($(this).val(),"small","detailKPCCodeId",null); }); }); function.. 더보기
Jquery 패턴 function list() {$("[name=searchForm]").attr("action", "/board/${dir}/${file}");$("[name=searchForm]").submit();}function view(content_seq) {$("[name=searchForm]").attr("action", "/board/${dir}/${file}/" + content_seq + "");$("[name=content_seq]").val(content_seq);$("[name=searchForm]").submit();}function pwdCheck() {if (document.searchForm.pwd.value == "") {alert("글 작성시 입력한 비밀번호를 입력해 주세요");docu.. 더보기
STS maven 에러 org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI @Controller 있는데도 에러남 pom.xml 추가 commons-beanutils commons-beanutils 1.8.0 더보기
the prefix "util" for element "util:properties" is not bound 에러 관련 beans xmlns="http://www.springframework.org/schema/beans"        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"        xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsd        http://www.springframework.org/schema/utilhttp://www.springframework.org/schema/util/spring-util.xsd ">   beans xmlns="http://www.springframe.. 더보기
Spring tool suite maven 설정 프레임워크 스프링 3.2 / MyBatis 3.1 DB Mysql 사용 pom 기본 셋팅 파일 Maven 설정 파일 유저 / m2 폴더 밑에 web.xml 부분 설정 셋팅 contextConfigLocation classpath:/spring/root-context.xml org.springframework.web.context.ContextLoaderListener classpath:/ target 폴더 및에서 찾는듯 root-context.xml 설정 외부 context.properties 에 DB 정보 설정값 입력 context.properties 파일driver=com.mysql.jdbc.Driverurl=jdbc:mysql://XXX.XXX.XXX.XXX/adminusername=XXX pass.. 더보기