-
[Eclipse][Sts][XML] DispatcherSpring-diary/WEB 2020. 2. 11. 09:33
Dispatcher에 템플릿 등록하기(다른 xml 동일)
- 컨트롤 +스페이스를 누르면 나오는 목록중에 자주 쓰는 템플레이트를 사용자가 직접 지정하여 저장 할 수가 있다.
- Window ->preference ->xml->Template ->new -> 이름과 코드를 고르고 All XML로 설정후 등록해 사용한다.
HandlerMapping View Resolver 등록된 모습 Dispatcher 특징
- Dispatcher에는 HandlerMapping을 해주는 Bean이 없어도 Default handler Mapping이 있다.
'Spring-diary > WEB' 카테고리의 다른 글
Annotation으로 Controller Interface 구현하기 (0) 2020.02.11 Spring Web에서 Controller로 데이터를 보내 사용하기 (0) 2020.02.11 Web-INF에 VIEW를 넣어야 하는 이유 (0) 2020.02.10 Spring web에서 Interface를 구현한 Controller 사용 (0) 2020.02.10 Spring Web Project의 기본 설정과 사용방법 (0) 2020.02.10