본문 바로가기 메뉴 바로가기

파란크리스마스

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

파란크리스마스

검색하기 폼
  • 분류 전체보기 (807)
    • Database (37)
      • SQL (5)
    • JBoss (2)
    • Etc (13)
    • 사진 (33)
    • 지스타, 모터쇼 (71)
    • Programming (259)
      • Java (85)
      • C++ (6)
      • Delphi (45)
      • Delphi - FireMonkey (7)
      • Flex (17)
      • JavaScript, Sencha (20)
      • 안드로이드 (17)
      • IOS (6)
      • Unity3D (4)
      • Apache, PHP (12)
      • Swift (15)
      • Node.js (9)
      • Nexacro (10)
      • Python (0)
      • Flutter (0)
    • OS (357)
      • Windows (7)
      • Linux (41)
      • Mac (13)
      • Raspberry Pi (63)
      • Arduino (26)
      • Orange PI (30)
      • NanoPi (27)
      • ROC-RK3328-CC (4)
      • Tinker Board (18)
      • Banana Pi /BPI-Bit (56)
      • micro:bit (42)
      • M5Stack (21)
      • 1080P Pinebook (1)
      • Jetson Nano (2)
      • Odroid (4)
    • 포토샵 (0)
    • 3D 프린터 (13)
  • 방명록

Spring MVC (21)
Spring MVC - 네이버 로그인 처리

Spring MVC - 네이버 로그인 처리네이버 로그인 API를 이용해서 네이버 계정으로 로그인 처리를 Spring 프레임웍에서 사용 할 수 있도록 간단하게 NaverLoginController를 작성해보았습니다. 임시로 로그인 결과값을 가지고 와서 tbluser2 테이블의 abcd 계정의 1111 암호를 사용하는 사용자로 로그인 되도록 고정했습니다. (authentication-provider 사용자가 제어 하는 부분은 따로 찾아서 적용필요)bluexmas-security.xmlalias의 authenticationManager 이름은 NaverLoginController 에서 속성으로 사용 NaverLogInController.java package com.bluexmas.controller; imp..

Programming/Java 2017. 4. 3. 16:05
Chart.js - Spring 연동

Chart.js - Spring 연동출처 : Chart.js - Spring 연동JSONChartJS 클래스 package com.intel4.json; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.intel4.service.QuestionListService; import com.intel4.util.BeanUtils; import net.sf.json.JSONArray; import net.sf.json.JSONObject; public class JSONChartJS extends JSONData { @Override public JSONObject getJS..

Programming/Java 2017. 3. 29. 20:05
Spring MVC - Form 데이터 전달

기본 Form 데이터 전달 기본 Form 데이터 전달 JSP - /sample/form1.jsp 기본 Form 데이터 전달 Controller @Controller public class FormController { @RequestMapping(value = "/form/form1.do", method = RequestMethod.GET) public String form1( @RequestParam("user_id") String user_id, @RequestParam("password") String password, ModelMap modelMap) throws Exception { System.out.println("user_id = " + user_id + "/" + password); re..

Programming/Java 2017. 3. 26. 19:51
Spring - Drag & Drop 파일 업로드

Spring - Drag & Drop 파일 업로드 출처 : Husk's repository :: 드래그 앤 드롭 파일 업로드 스프링 예제 관련 라이브러리 추가 commons-io-2.4.jar commons-fileupload-1.3.jar WebContent\WEB-INF\iot-servlet.xml 업로드 jsp (WebContent\WEB-INF\jsp\dragdrop\fileUpload.jsp) Drag & Drop Files Here Controller package com.iot.controller; import java.io.File; import java.util.Iterator; import org.springframework.stereotype.Controller; import org...

Programming/Java 2017. 2. 26. 18:42
Spring MVC - 댓글 구현

댓글 테이블 생성 CREATE TABLE `main_board_reply` ( `seq` int(11) NOT NULL AUTO_INCREMENT, `main_seq` int(11), `title` varchar(11) DEFAULT NULL, `name` varchar(11) DEFAULT NULL, `date` date DEFAULT NULL, `count` int(11) DEFAULT NULL, `content` varchar(200) DEFAULT NULL, PRIMARY KEY (`seq`) ) MainBoardReply 클래스 생성 package com.iot.db.domain; import java.sql.Date; import bluexmas.util.DateUtils; import net..

Programming/Java 2017. 1. 7. 19:19
Spring MVC - tiles 적용

출처 : IT 조각 모음: [java] spring3 + tiles3 설정 하기 iot-servlet.xml 내용추가(WebContent\WEB-INF\iot-servlet.xmll) /WEB-INF/tiles/tiles-layout.xml 타일즈 환경설정 파일 생성(WebContent\WEB-INF\tiles\tiles-layout.xmll) 레이아웃(web_layout.jsp) 파일 생성(WebContent\WEB-INF\tiles\web_layout.jsp) 상당 페이지(web_header.jsp) 파일 생성(WebContent\WEB-INF\tiles\web_header.jsp) 로그인사용자 : 로그아웃 회원 가입 하단 페이지(web_footer.jsp) 파일 생성(WebContent\WEB-IN..

Programming/Java 2017. 1. 2. 20:44
Spring MVC - Spring Security

Spring Security 출처 : 사랑이 고픈 프로그래머.. - 흔히 보게되는 절대 써먹을 수 없는 Spring Security의 초간단 셋팅 jjeong :: Spring Security login/logout 관련 글 web.xml 내용추가(WebContent\WEB-INF\web.xml) contextConfigLocation /WEB-INF/iot-datasource.xml /WEB-INF/iot-mybatis.xml /WEB-INF/iot-security.xml org.springframework.web.context.ContextLoaderListener springSecurityFilterChain org.springframework.web.filter.DelegatingFilterPro..

Programming/Java 2016. 12. 31. 18:33
Spring MVC - 삭제 기능 구현

삭제 CheckBox 추가(hello_world.jsp) hello_world.jsp에서 목록을 form으로 감싸고, 사용자 마다 삭제 checkbox를 추가 사용자 조회 ${data.user_id} ${data.password} ${data.name} ${data.nickname} src\com\iot\controller\UserController.java 클래스 내용 추가 @RequestMapping(value = "/delete_user.iot", method = RequestMethod.POST) public String delete_user(@RequestParam("delete_user_ids") String[] delete_user_ids, ModelMap modelMap) throws Ex..

Programming/Java 2016. 12. 27. 20:44
이전 1 2 3 다음
이전 다음
300x250
공지사항
최근에 올라온 글
  • JavaScript : 정규표현식⋯
  • Ubuntu 20.04 : MySQL 5.7⋯
  • Orange Pi Zero Plus2 H5⋯
  • Orange Pi Plus 2E : WebC⋯
최근에 달린 댓글
  • 이 내용은 혹시 '이경오의 SQ⋯
  • 배워갑니다 ㄳㄳㄳ
  • 형님. 제목숨을 구하셨습니다.
  • 현재 jetson보드에서 RTSP se⋯
Total
1,318,151
Today
64
Yesterday
284
링크
  • C++ RetrievingFileUsingHttp
TAG
  • 튜닝쇼 2008
  • 서울오토살롱
  • 레이싱모델 익스트림 포토 페스티벌
  • SAS
  • flex
  • oracle
  • ubuntu
  • koba2010
  • 지스타2007
  • Spring
  • 일본여행
  • MySQL
  • Linux
  • sas2009
  • Spring MVC
  • NDK
  • KOBA
  • 송주경
  • ffmpeg
  • Xcode
  • 전예희
  • 동경
  • android
  • Delphi Tip
  • BPI-M4
  • ble
  • Mac
  • Java
  • JavaScript
  • Delphi
more
«   2022/05   »
일 월 화 수 목 금 토
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        
글 보관함
  • 2022/05 (1)
  • 2022/04 (1)
  • 2022/03 (9)
  • 2022/02 (2)
  • 2022/01 (2)

Blog is powered by Tistory / Designed by Tistory