에러해결

[에러해결]ajax로 서버에서 받아온 데이터가 ?로 찍히는 에러 해결

intp프로그래머 2023. 2. 2. 10:22

 

1. Ajax에 dataType(서버에서 받아오는 데이터), contentType(ajax에서 서버로 보내는 데이터) 추가하기

2.  Controller에 produces 추가하기

 

 

참고 : https://despacito-pasito.tistory.com/8