반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 대이터
- 머신러닝
- web 사진
- 데이터전문기관
- java역사
- html
- CES 2O21 참여
- C언어
- web
- cudnn
- mglearn
- KNeighborsClassifier
- discrete_scatter
- 결합전문기관
- tensorflow
- classification
- pycharm
- bccard
- web 용어
- web 개발
- vscode
- 웹 용어
- inorder
- Keras
- CES 2O21 참가
- 재귀함수
- 자료구조
- broscoding
- postorder
- paragraph
Archives
- Today
- Total
bro's coding
spring.web.xml 설정 본문
반응형
Spring Framework에서 제공하는 FrontControllerServlet인 DispatcherServlet은 spring 설정 파일을 [서블릿이름]-servlet.xml로 찾이서 로깅한다.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
id="WebApp_ID" version="3.1">
<display-name>springmvc1</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<!-- Spring Framework에서 제공하는 FrontControllerServlet인 DispatcherServlet은
spring 설정 파일을 [서블릿이름]-servlet.xml로 찾이서 로깅한다. -->
<servlet>
<!-- 이 경우 스프링 설정파일명은 springmvc-servlet.xml이 되고 이를 DispatcherServlet에서 로깅 -->
<servlet-name>springmvc</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>springmvc</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
</web-app>
반응형
'[IT] > Spring' 카테고리의 다른 글
Spring.modelAndView (0) | 2021.06.02 |
---|---|
spring.객체 안 객체 접근(view) (0) | 2021.06.02 |
Spring.MVC (0) | 2021.06.02 |
Spring.AOP적용 단계 (0) | 2021.06.01 |
Spring.annotation (0) | 2021.05.31 |
Spring.설정 방식 (0) | 2021.05.31 |
Spring.MyBatis.join.vo.resultMap (0) | 2021.05.31 |
Spring.MyBatis.인스턴스 객체 접근 (0) | 2021.05.31 |
Comments