본문 바로가기
Application/GIS

[GeoServer] JSONP 활성화

by NAMP 2017. 8. 22.

[GeoServer] JSONP 활성화

web.xml 파일을 수정합니다.

톰캣에 설치한 경우는 아래 경로에 있습니다.

/tomcat/webapps/geoserver/WEB-INF/web.xml

<context-param>
    <param-name>ENABLE_JSONP</param-name>
    <param-value>true</param-value>
</context-param>

위의 내용을 입력한 후 서버를 재시작하여 jsonp 를 활성화 합니다.

출처


댓글