develop/jsp3 썸넴일 클릭 시 큰화면으로 보여주는 방법 $(document).ready(function() { $('#review-simg img').on('click', function(){var srcName = $(this).attr('src').replace('http://attach.choroki.com/thumb/','');$('#review-bimg').attr('src','http://attach.choroki.com/'+srcName);});}); 2016. 7. 1. CKEditor 사용 및 파일 업로드 적용 1. CKEditor 다운 - DOWNLOAD URLhttp://ckeditor.com/ 에서 다운로드 - 설치 위치webapp 밑에 copy - JSP 설정 filebrowserUploadUrl 을 설정을 해주어야만 사진 업로드 시 업로드 탭이 생겨 사진파일을 업로드 할 수 있다.그렇지 않으면 CKFinder를 사용하여 적용 시켜주어야 한다. - 사진 업로드 구현 ServletController@RequestMapping(value="/file/ckeditorImageUpload.do", method=RequestMethod.POST)public void ckeditorImageUpload(HttpServletRequest request, HttpServletResponse response, @Requ.. 2016. 3. 25. CSV 다운로드 기능 CSV JSP 부분 구분자 , 개행문자 " //줄바꿈 삭제 "${list.sd_name}","${list.area}","${list.quantity}""${sggList.sgg_name}","${sggList.area}","${sggList.quantity}","${sggList.department}","${sggList.contact}" "합계","${totArea}","${totQuantity}" "조회 된 데이터가 없습니다." 2014. 11. 5. 이전 1 다음