2017년 10월 9일 월요일
Spring에서 REST API PUT 데이터 안넘어갈때 처리법
web.xml파일을 열어서 추가한다.
<filter>
<filter-name>HttpPutFormContentFilter</filter-name>
<filter-class>org.springframework.web.filter.HttpPutFormContentFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>HttpPutFormContentFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
참고 : https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc