일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- session.getAttribute
- opener
- BEANS
- 자바빈즈
- 동기부여
- 버리자
- iframe
- session.removeAttribute
- Import
- 페이지이동
- "
- 빈즈
- 영감
- static
- 동기 부여
- 팝업창
- scanner
- javaBeans
- ;
- 파일호출
- session.setAttribute
- Alert
- \
- target
- 페이지 이동
- 향상된 for문
- 파일 호출
- 데이터사이언스
- 미래직장
- 로그인화면
- Today
- Total
갈림길 이정표
보호되어 있는 글입니다.
보호되어 있는 글입니다.
보호되어 있는 글입니다.
보호되어 있는 글입니다.
[js18_getpost.html] * Ajax : get/post 이름: 나이: [getpost.jsp]
[js17_Product_JSON.jsp] {"product": [ 0){ result = result.substring(0, result.length() - 1); }//마지막 comma(,) 제거 out.print(result); }catch (Exception e){ System.out.print("err: " + e); }finally{ try{ if(rs != null) rs.close(); if(pstmt != null) pstmt.close(); if(conn != null) conn.close(); }catch (Exception e){ } } %> ] } [js17_JSON_DB.html] * 원격 DB 자료 Ajax로 읽기(JSON)* 읽기
[js16_Product_XML.jsp] [WebContent] > [WEB-INF] > [lib] 에 복사 Connection conn = null;//현재는 지역변수이므로 초기값 줘야함 PreparedStatement pstmt = null; ResultSet rs = null; try{ Class.forName("org.mariadb.jdbc.Driver"); conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","369369"); pstmt = conn.prepareStatement("SELECT * FROM sangdata"); rs = pstmt.executeQuery(); //Thread.sleep(5000)..
Ajax원리 이해하기 - XML Ajax원리 이해하기 - JSON [aa.txt] 졸리긴 한데 아빠랑 놀긴 해야겠고… 하루의 끝에서 쉽게 잠드는 날이 없네요 그래도 이만큼 아빠를 필요로 하는 시간이 지금 밖에 없지 않을까? 하는 생각도 듭니다 [aa.xml] 10 js 만세 20 python 만세 30 java 만세 [aa.json] {"product": [ {"code": "100", "sang": "마우스"}, {"code": "200", "sang": "노트북"}, {"code": "300", "sang": "백팩"} ] }