It's likely that neither a Result Type nor a Result Map was specified. XML에서 resultType을 명시하지 않았을 경우 발생... 12345678910111213141516parameterType="egovframework.sys.vo.BoardVO" resultType="int" 꼭 resultType을 써야하는 이유가 무엇일까.. \ Board라는 객체로 받아 올때는 resultMap Colored by Color Scriptercs
123Field error in object 'attachFile' on field 'fileNm': rejected value [org.springframework.web.multipart.commons.CommonsMultipartFile@6aefa836]; Field error in object 'attachFile' on field 'fileNm': rejected value [org.springframework.web.multipart.commons.CommonsMultipartFile@7a4a0c66]; codes [typeMismatch.attachFile.fileNm,typeMismatch.fileNm,typeMismatch.java.lang.String,typeMismatch]; argu..
12345java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/sys/brd.do': {public java.lang.String egovframework.sys.brd(javax.servlet.http.HttpServletRequest,egovframework.sys.brd.vo.BoardContentVO,org.springframework.ui.Model) throws java.lang.Exception, public java.lang.String egovframework.sys.brd(org.springframework.ui.ModelMap,javax.servlet.ht..
1234567891011121314151617181920212223242526 /* 주소검색 API */ $.ajax({ url:"http://www.juso.go.kr/addrlink/addrLinkApiJsonp.do" ,type:"post" ,data:$("#form").serialize() // 요청변수설정 ,dataType:"jsonp" // 크로스도메인으로인한jsonp이용 ,crossDomain:true ,success:function(jsonStr){ // jsonStr: 주소검색결과JSON 데이터 $("#list").html(""); varerrCode= jsonStr.results.common.errorCode; varerrDesc= jsonStr.results.common.errorMe..
출처 : http://fruitdev.tistory.com/14 1234567891011121314151617public String getEncSHA256(String txt) throws Exception{ StringBuffer sbuf = new StringBuffer(); MessageDigest mDigest = MessageDigest.getInstance("SHA-256"); mDigest.update(txt.getBytes()); byte[] msgStr = mDigest.digest() ; for(int i=0; i
1234567891011121314151617181920212223242526 public static String fileType(String storedFileName) { /*확장자 추출하기*/ String[] values = storedFileName.split("\\."); String[] imgFormat = {"jpg" ,"jpeg" , "jpe" , "png"} ; String[] docFormat = {"doc" ,"hwp" , "html" , "xls", "zip", "alz", "egg"} ; String img = "IMG"; String doc = "DOC"; String pdf = "PDF"; /*확장자 판별*/ for(int i=0; i
dispatcher-servlet.xml 에1cs ExcelLoader.java 에 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283package egovframework.utils; import java.util.List;import java.util.Map; import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse; import org.apache.poi.hssf.us..
class 파일만 있도 java파일은 없을경우에 사용해야 한다. JD-GUI 다운로드 주소 : http://jd.benow.ca/#jd-gui-download 비슷한 종류의 프로그램으로 jad가 있는데 그건 개발이 중단 되었다고 해서 사용을 권장하지 않는다. IDE 플러그인은 Eclipse와 IntelliJ 지원jdk1.1.8, jdk1.3.1, jdk1.4.2, jdk1.5.0, jdk1.6.0, jdk1.7.0 지원JD-GUI 에서 Drag & drop 기능 지원JD-GUI 에서 JAR & ZIP 파일 지원 (jar 나 zip 파일을 드래그&드롭하면 패키지별로 디컴파일된 코드를 볼 수 있습니다.)출처 : http://tech.whatap.io/2016/05/25/java-%EC%97%AD-%EC%BB..
출처 : http://pep-si.tistory.com/20 12345심각: Servlet.service() for servlet [spring] in context with path [/library] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/library/mgr': {public java.lang.String com.sun.controller.MainController.mgr(org.springframework.ui.Model) throws jav..
https://wikidocs.net/191 단계와 목차별로 잘 나누어져 있고 따라 읽기 쉽고 가독성이 좋다.
두개를 추가해야 한다. javascript 여기서 addr은 한글이 들어가면 된다. 1234567891011121314151617function geoCoding(addr) { $.ajax({ url:"/ajax/geoCoding.do" // geoCoding호출 ,type:"post" ,data: {addr : addr} // 요청변수설정 ,dataType:"text" ,success: function(data) { var map = data.split('&'); var map_x = map[0]; var map_y = map[1]; }, error:function(request,status,error){ console.log("code:"+request.status+"\n"+"error:"+error..
- Total
- Today
- Yesterday
- input
- 정규식
- node관리
- SQL
- floating button
- 터미널
- Tomcat
- 메뉴관리
- 최고심
- 톰캣
- 토라식당
- Apach
- 이클립스
- jstree
- 르프리크
- 힘냉면록
- 맥
- Lalavel
- 조직도관리
- server.xml
- 오라클
- 위잇딜라이트
- 아파치
- Eclipse
- html
- 성수뚝떡
- Mac
- tree로만들기
- Oracle
- 성수밥
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |