티스토리 뷰
1. 전자정부프레임워크 사용
2. web.xml 추가
<!-- http method 제한 -->
<security-constraint>
<display-name>Forbidden</display-name>
<web-resource-collection>
<web-resource-name>Protected Context</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
<http-method>TRACE</http-method>
<http-method>COPY</http-method>
<http-method>MOVE</http-method>
<http-method>OPTIONS</http-method>
</web-resource-collection>
<auth-constraint>
<role-name></role-name>
</auth-constraint>
</security-constraint>
3. 그래도 http method 처리가 안되었다.
<servlet>
~~
<init-param>
<param-name>dispatchOptionsRequest</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
참고 : http://blog.naver.com/duco777/220765466402
https://psage.tistory.com/entry/HTTP-Method-%EC%A0%9C%ED%95%9C
끝.
'웹개발자 > 웹서버' 카테고리의 다른 글
nginx nodejs 연동 (0) | 2019.03.25 |
---|---|
라즈베리파이 nginx 설치 (0) | 2019.03.25 |
http method 제한 (trace) (2) | 2019.01.14 |
tomcat 사진파일 업로드 경로 설정 (0) | 2017.11.03 |
tomcat 한글깨짐 utf-8 인코딩 설정 (0) | 2017.10.18 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 베트남
- 오토핫키
- 로블록스
- 구글 플레이 게임즈
- download
- 시즌3
- 시즌패스
- 설치
- 단축키
- java
- mariaDB
- lineage2m
- 라즈베리파이
- Spring Boot
- 호이안
- 다운로드
- tomcat
- autohotkey
- 전자정부프레임워크
- Spring
- 메소드 제한
- mysql
- 윈도우
- eGovFramework
- nginx
- 달빛조각사
- 수원
- 설정
- 배드워즈
- 블루스택
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
글 보관함