post提交时不写入参数名获取字符串方式

post提交时不写入参数名获取字符串方式

  try {
			 BufferedReader br = null; 
			 String responsexml = "";
			 br = new BufferedReader(new InputStreamReader(request.getInputStream())); 
			 String temp = "";  
			 while((temp = br.readLine())!=null ){  
	                responsexml += temp;  
	            }  
			          
			    System.out.println(responsexml);  
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		System.out.println(param);

猜你喜欢

转载自lysunki.iteye.com/blog/2244189
今日推荐