System.Net.WebRequest request = System.Net.FileWebRequest.Create("http://192.168.1.12:8080/eclipse_tfw_xzxt/jsp_sample/sample_6.jsp?param_a=Java&param_b=.Net");
                System.Net.WebResponse response = request.GetResponse();
                System.IO.Stream stream = response.GetResponseStream();
                System.IO.StreamReader streamreader = new System.IO.StreamReader(stream);
                textBox2.Text = streamreader.ReadToEnd().ToString();
posted on 2008-05-30 22:19  胡秉征  阅读(98)  评论(0编辑  收藏  举报