标签:name 获取 system highlight blog str new class get
request.getParamter(String name)方法不能再使用了
需要使用request.getInputStream()获取输入流对象然后在进行读取数据
解析数据
ServletInputStream inputStream = request.getInputStream() ;
byte[] bytes = new byte[1024] ;
int len = 0 ;
while((len = inputStream.read(bytes)) != -1) {
System.out.print(new String(bytes , 0 , len));
}
标签:name 获取 system highlight blog str new class get
原文地址:http://www.cnblogs.com/loaderman/p/6415499.html