출처 : Rednics Blog - 보안이 적용되지 않은 간단한 웹 어플리케이션 생성 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.DelegatingFilterProxy springSecurityFilterChain /* WEB-INF\iot-security.xml Controllerpackage com.iot.controller; import j..
출처 : 자바에서 메일 보내는 방법 - Nothing New Under the Sun JavaMail 다운로드 다운로드 Servlet 소스 class mvc.servlet.MailServlet package mvc.servlet; import java.io.IOException; import java.io.PrintWriter; import java.util.Properties; import javax.mail.Authenticator; import javax.mail.Message; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet..
출처 : JSTL의 이해 및 실습 - 12.구루비 Dev 스터디 JSTL 라이브러리 접두어 URI 식별자 기능 c http://java.sun.com/jsp/jstl/core 변수선언 fmt http://java.sun.com/jsp/jstl/fmt 숫자,날짜,시간을 포맷팅 하는 기능과 국제화, 다국어 지원 기능을 제공 fn http://java.sun.com/jsp/jstl/functions 문자열을 처리하는 함수를 제공 sql http://java.sun.com/jsp/jstl/sql 데이터베이스의 데이터를 입력/수정/삭제/조회하는 기능을 제공 x http://java.sun.com/jsp/jstl/xml XML 문서를 처리할 때 필요한 기능을 제공 form http://www.springframew..
출처 : 개발하는 씽매려기 :: MyBatis] 쿼리에서 특정 문자 제거 (if 사용시) MyBatis – MyBatis 3 | 동적 SQL Domain 객체 com.iot.domain.DepartmentsDomain 클래스 package com.iot.domain; import net.sf.json.JSONObject; public class DepartmentsDomain { // pk private int department_id; private String department_name; private int manager_id; private int location_id; private String delete_flag = "N"; public void setDepartment_id(int dep..
출처 : Get to Spring ApplicationContext from everywhere (The clean way) Spring 컨터이너안의 Bean 객체를 어디에서든 얻어오는 Tip ApplicationContextProvider 클래스 ApplicationContextProvider 클래스를 만들고, 이 클래스는 ApplicationContextAware 인터페이스를 구현합니다. package com.iot.util; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationConte..
출처 : 환경설정 MyBatis 관련 환경파일 import iot-servlet.xml 파일에 아래 내용 추가 JDBC 설정 iot-datasource.xml 파일 MyBatis 설정 iot-mybatis.xml 파일 Domain 객체 출처 : 혹시 DTO(VO) 작성하시나요? - SLiPP 프레임워크마다 VO, Command, Domain, DTO, TO 여러가지 이름으로 부르지만, MyBatis에서는 Domain이라고 부르고, Domain객체는 데이터베이스에서 조회된 데이터를 객체에 담아서 jsp에 실어 사용자에게 전달합니다. package com.iot.domain; import java.sql.Timestamp; public class TbluserDomain { // pk private int ..
출처 : JSTL의 이해 및 실습 - 12.구루비 Dev 스터디 JSTL 라이브러리 접두어 URI 식별자 기능 c http://java.sun.com/jsp/jstl/core 변수선언 fmt http://java.sun.com/jsp/jstl/fmt 숫자,날짜,시간을 포맷팅 하는 기능과 국제화, 다국어 지원 기능을 제공 fn http://java.sun.com/jsp/jstl/functions 문자열을 처리하는 함수를 제공 sql http://java.sun.com/jsp/jstl/sql 데이터베이스의 데이터를 입력/수정/삭제/조회하는 기능을 제공 x http://java.sun.com/jsp/jstl/xml XML 문서를 처리할 때 필요한 기능을 제공 form http://www.springframew..
- Total
- Today
- Yesterday
- android
- 동경
- BPI-M4
- KOBA
- NDK
- 일본여행
- 전예희
- sas2009
- 서울오토살롱
- koba2010
- 지스타2007
- 레이싱모델 익스트림 포토 페스티벌
- 튜닝쇼 2008
- flex
- MySQL
- Xcode
- SAS
- Java
- ffmpeg
- JavaScript
- ble
- oracle
- Linux
- Mac
- 송주경
- ubuntu
- Spring MVC
- Spring
- Delphi Tip
- Delphi
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |