当前位置:编程学习 > JSP >>

上传流的分析

 ServletInputStream sis = request.getInputStream();
        while( (rtnPos = sis.readLine( buffs, 0, buffs.length )) != -1 ){
            String strBuff = new String( buffs, 0, rtnPos );
            out.print(strBuff);
            out.print("<br>");
        }

补充:Jsp教程,Application与Applet
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,