[jQuery] 간단한 ajax 예제
public void ajaxTest(HttpServletRequest request, HttpServletResponse response) throws Exception { response.setContentType("application/xml; charset=UTF-8"); PrintWriter out = response.getWriter(); StringBuffer sb = new StringBuffer(); sb.append(""); String result = null; try { // 파라메터 HashMap param = new HashMap(); param.put("userId", "yangyag"); // 디비 값 변경 int rst = dao.insertUser(param); // 결과..