String line = null;
  request.setCharacterEncoding("UTF-8");
  BufferedReader in = request.getReader();
  String getxml = "";
        while ((line = in.readLine()) != null) {
            getxml = getxml +
                     new StringBuffer().append(new String(line.
                    getBytes("ISO8859-1")));
        }上面代码看到了request.getreader。但是我实在不知道用ASP怎么实现上述内容。好象没有接收的类型。是form是query还是什么。我应该咋办?

解决方案 »

  1.   

    在ASP区也发一帖,也许有用。
    不懂ASP,顶帖。
      

  2.   

    这段代码的功能主要是实现按行读取,可以参考.NET中以下按行读取的方法Imports Microsoft.VisualBasic.FileIODim csvReader As New Microsoft.VisualBasic.FileIO.TextFieldParser(path, System.Text.Encoding.Default)        csvReader.TextFieldType = FieldType.Delimited
            csvReader.SetDelimiters(",")        Dim currentRow As String()
            While Not csvReader.EndOfData
            Try
               currentRow = csvReader.ReadFields()
      

  3.   

    ASP不怎么会呢
    不好意思啊!
    up
      

  4.   

    楼主,好歹也把你asp的页面语言写出来吧?vb还是别的?