![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ajax
qingwaxw1980
这个作者很懒,什么都没留下…
展开
-
spring JSONObject Controller for AJAX
<br />package controller;import java.io.IOException;import java.io.PrintWriter;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import net.sf.json.JSONObject;import org.springframework.web.servlet.Model原创 2011-03-02 22:53:00 · 456 阅读 · 0 评论 -
parseXML和parseJSON
function parseXML(){ var name=""; var descrip=""; var xmlDoc=this.req.responseXML; var elDocRoot=xmlDoc.getElementsByTagName("planet")[0]; if (elDocRoot){ attrs=elDocRoot.attributes; name=attrs.getNamedItem("name").value; var原创 2011-03-03 09:17:00 · 922 阅读 · 0 评论