Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- array
- jsp
- input
- spring
- sql
- TO_DATE
- controller
- jQuery
- 태그
- was
- Ajax
- 정의
- Oracle
- javascript
- html
- mybatis
- 암호화
- 오류
- 함수
- Java
- CSS
- POI
- json
- eGov
- select
- web.xml
- 과정평가형
- eGovFramework
- 개념
- JVM
Archives
- Today
- Total
목록modelandView로 가져오기 (1)
web developer
[java] JSON 데이터를 controller에서 생성하여 jsp로 데이터 가져오기
JSON 데이터 controller(java단)에서 만들어 jsp에 JSON 데이터 보내기POM.xml에 depencency 추가 com.googlecode.json-simple json-simple 1.1modelandView로 가져오기 import org.json.simple.JSONObject;import org.json.simple.JSONArray;@RequestMapping(value = "/test.do", method = RequestMethod.GET)@ResponseBodypublic ModelAndView test() { ModelAndView mv = new ModelAndView(); mv.setViewName("/board/con..
Language/Java
2022. 11. 20. 18:15