강의

멘토링

커뮤니티

Inflearn Community Q&A

tkdgnsdl00566596's profile image
tkdgnsdl00566596

asked

Learn Spring MVC 5 by Making It with Yoon Jae-seong

25. ApplicationScope empty injection

requestScope 주입시 null이 나옵니다

Written on

·

182

0

jsp에서 applicationScope.으로 하면  브라우저와 콘솔에 잘 출력이 되는데

requestScope를 쓰는 순간 콘솔도 null 브라우저도 null이 나옵니다 @Bean주입과 @Resouece 주입은 똑같이 잘 되어 있구요  id도 잘 정의 했습니다 이유가 뭘까요?

MVCjavaXMLspring

Answer 1

0

softcampus님의 프로필 이미지
softcampus
Instructor

코드 전체를 올려주시기 바랍니다. bean 정의 여부, xml 셋팅인지 java 세팅인지 여부 등등의 정보가 필요합니다.

tkdgnsdl00566596's profile image
tkdgnsdl00566596

asked

Ask a question