• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    해결됨

강의 시간 15:45~ 질문있습니다.

19.10.30 18:58 작성 조회수 101

0

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

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"

default-init-method="default_init"

default-destroy-method="default_destroy">

질문)

default method 들은 꼭 맨위에 달아줘야하는건가요?

답변 1

답변을 작성해보세요.

0

nury님의 프로필

nury

지식공유자

2019.10.30

default 들은 bean에 개별적으로 설정하지 않을 경우 일괄 적용 시키는 것이므로 beans 태그에 작성해주셔야 합니다.