메뉴 건너뛰기

조회 수 5022 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부



스프링에서 Aspect 어노테이션을 사용하기 위해서는 아래와 같은 XML 설정이 필요하다.



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://www.springframework.org/schema/aop
                           http://www.springframework.org/schema/aop/spring-aop-4.1.xsd">

    <!-- @Aspect 사용을 위한 설정 -->
    <aop:aspectj-autoproxy />
    
</beans>

List of Articles
번호 제목 날짜 조회 수
43 ExcelUtil 2021.03.09 330
42 서버로부터 메시지 받아서 팝업 띄우기 (1. ModelAndView 이용) file 2021.03.09 574
41 Spring source 배포 및 Tomcat Server 셋팅 2019.03.05 1346
40 form에서 enctype="multipart/form-data"로 보낸 데이터를 request로 받기 2019.03.05 980
39 JAVA에서 alert창 띄우기 2019.03.05 1588
38 JSTL 숫자 포맷 맞추기 (<fmt:formatNumber> 사용 예제) 2019.03.05 1182
37 JSTL을 이용하여 합계 구하기 2019.03.05 1066
36 forEach문은 아래와 같이 활용한다. 2019.03.05 919
35 [JSTL core] [c:forEach] varStatus를 활용한 변수 2019.03.05 1056
34 전자정부표준프레임워크 파일 업로드 크기 설정(feat. MaxUploadSizeExceededException) file 2019.02.28 1108
33 @SessionAttributes와 SessionStatus 사용하기(세션에 모델 객체 저장) file 2019.02.28 1187
32 스프링프레임워크 <form:form> 태그 사용법 file 2019.02.28 3521
31 JSP에서 지시자(Directive) 또는 태그라이브러리에 의한 공백 라인을 제거하는 방법 file 2019.02.28 803
30 <c:url> 태그 사용법 file 2019.02.28 4333
29 JSTL - <c:if>, <c:choose> 태그 사용법 2019.02.28 2218
28 이클립스(Eclipse) 한글 언어팩 설치. Babel 프로젝트 file 2018.12.07 1199
27 이클립스(Eclipse) 소스 일괄 수정 file 2018.12.07 1097
26 전자정부프레임워크 설치 및 실행 file 2018.12.07 1384
25 JSP에서 지시자(Directive) 또는 태그라이브러리에 의한 공백 라인을 제거하는 방법 file 2018.12.06 1282
24 스프링프레임워크 <form:form> 태그 사용법 file 2018.12.06 1182
Board Pagination Prev 1 2 3 Next
/ 3

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved