当前位置: 技术问答>java相关
如何将下面的jsp程序用asp写?
来源: 互联网 发布时间:2015-11-15
本文导语: service_ID = request.getParameter("serviceID"); servicePassword = request.getParameter("servicePassword"); userID = request.getParameter("userID"); URL oURL = new URL("http://sp.istyle.com.tw/sdk/servlet/com.fet.csp.AuthorizeUser?" + "serviceID="...
service_ID = request.getParameter("serviceID");
servicePassword = request.getParameter("servicePassword");
userID = request.getParameter("userID");
URL oURL = new URL("http://sp.istyle.com.tw/sdk/servlet/com.fet.csp.AuthorizeUser?"
+ "serviceID=" +service_ID
+ "&servicePassword="+ servicePassword
+ "&userID="+userID
+ "&serviceIDCode="+service_ID);
BufferedReader br = new BufferedReader(new InputStreamReader(oURL.openStream(),"Big5"));
String line = "";
StringBuffer requestString=null;
while ((line = br.readLine()) != null)
requestString.append(line);
…………
servicePassword = request.getParameter("servicePassword");
userID = request.getParameter("userID");
URL oURL = new URL("http://sp.istyle.com.tw/sdk/servlet/com.fet.csp.AuthorizeUser?"
+ "serviceID=" +service_ID
+ "&servicePassword="+ servicePassword
+ "&userID="+userID
+ "&serviceIDCode="+service_ID);
BufferedReader br = new BufferedReader(new InputStreamReader(oURL.openStream(),"Big5"));
String line = "";
StringBuffer requestString=null;
while ((line = br.readLine()) != null)
requestString.append(line);
…………
|
除了使用COM组件,是没有办法的,还是使用JAVA吧