APS改写为JSP
var http=Server.CreateObject("MSXML2.ServerXMLHTTP.4.0");
http.setOption(2,13056);
String url="index.jsp";
http.open("GET",url,false);
http.send();
var resp = http.responseXML;
resp.setProperty("SelectionNamespaces","xmlns:cas=\"http://www.yale.edu/tp/cas\"");
var PName = resp.selectSingleNode("//cas:PName").nodeTypedValue;
var OrgName = resp.selectSingleNode("//cas:OrgName").nodeTypedValue;
var SexName = resp.selectSingleNode("//cas:SexName").nodeTypedValue;
var StudentNo = resp.selectSingleNode("//cas:StudentNo").nodeTypedValue;
var ICAccount = resp.selectSingleNode("//cas:ICAccount").nodeTypedValue;
var RankName = resp.selectSingleNode("//cas:RankName").nodeTypedValue;
请问怎么帮上面这段代码转成JSP页面的代码啊!!求帮助,谢谢了!急需
------解决方案--------------------这个应该是页面脚本代码,不需要改。