ajax中send()向服务器传输数据问题
xmlhttp.open("POST","TestServlet",true);
//POST请求需要自己设置Http请求头
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
//用POST放送数据
xmlhttp.send("name=" + name,"name2=" + name); ---这样不行,服务器取不到name2????这样的怎么向服务器发送多个数据!!!求指点