2011年12月8日
摘要: 把java中的对象转换成Json输出给浏览器利用extjs的ajax方法,发送function ajaxtest() { Ext.Ajax.request({ url:"/Extjs/TimeServlet", //这里注意要加上webRoot的名字 success:function(response,config) { alert(config.url+","+config.method); var json = Ext.util.JSON.decode(response.responseText); Ext.MessageBox.alert(&quo 阅读全文
posted @ 2011-12-08 13:20 c3tc3tc3t 阅读(490) 评论(0) 推荐(0)