<Spring 3.2 비동기 처리 대응(web.xml)>
<소스코드>
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
<!– 인코딩 필터 -->
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<async-supported>true</async-supported>
・・・(생략)・・・
</filter>
<!– SpringMVC용Servlet -->
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring/servlet-context.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
<async-supported>true</async-supported>
・・・(생략)・・・
</servlet>
</web-app>
'자바 > JAVA...Spring' 카테고리의 다른 글
Java Basic 실무과정 ] 자바(Java) 란 (0) | 2016.04.18 |
---|---|
Spring 3.2 & MyBatis] Spring MVC 테스팅(static import) (0) | 2016.02.23 |
Spring 3.2 & MyBatis] Spring 3.2 정의파일 변경 (0) | 2016.02.23 |
Spring 3.2 & MyBatis] Spring 3.2 변경점 <라이브러리 변경> (0) | 2016.02.22 |
Spring 3.2 & MyBatis] 권한 체크(인증, 인가 기능) (0) | 2016.02.22 |