SEONG

  • home
  • guestbook
  • write
  • Java
  • jQuery
  • javascript
  • Spring
  • Web
  • Database
  • WAS
  • Network
  • Music
  • etc

ajax post 2

[jQuery] Ajax 전송

Ajax 전송 AjaxAsynchronous JavaScript and XML 의 약어. 웹서버와 비동기식 통신을 이용해 대화영 어플리케이션을 구현하는 기법 Parametertype : GET or POSTurl : 전송하고자 하는 URLdata : 받는 곳의 방식에 따라 xml, json 등등의 데이터로 구성contentType : 보낼 데이터 포맷 형식dataType : 받을 데이터 포맷 형식success or failure : 이 안에 있는 function(data)는 값을 받으면 알아서 data 변수에 받은 객체가 할당됨. Usefunction Send() {$.ajax({type: "POST",url: "",data: "",//contentType: "application/json; charse..

Programming/jQuery 2014.08.14

[jQuery] HTTP Body로 Ajax JSON POST

Ajax JSON POST Client$.ajax({url: ".../api/test",type: "post",accept: "application/json",contentType: "application/json; charset=utf-8",data: JSON.stringify({'list': savedData}),dataType: "json",success: function(data) {// success handle},error: function(jqXHR,textStatus,errorThrown) {// fail handle}}); Server@RequestMapping(value = "/api/test", method = RequestMethod.POST, headers = {"Accept=ap..

Programming/jQuery 2014.08.14
이전
1
다음
더보기
프로필사진

SEONG

  • Category
    • Programming
      • java
      • jQuery
      • javascript
      • Spring
      • Python
      • Web
      • DB
      • WAS
      • network
      • algorithm
      • etc
    • Music
    • News
      • IT
      • 경제/금융
      • 사회
    • Hobby/Life

Tag

music, jQuery, spring json, rest api, Plies, WAS, db, Empire OST, fast and furious7, JavaScript, algorithm, java, furious7 ost, web, spring, ibatis, AOP, jeus, 알고리즘, ajax post,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • SEONG IL-MAN

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바