response.setHeader( "Content-type", "text/html;charset=UTF-8" );
out = response.getWriter();
InputStream in = request.getInputStream();
BufferedReader br = new BufferedReader( new InputStreamReader( in, "UTF-8" ) );
StringBuffer result = new StringBuffer();
String line = "";
long courseId = ParamUtils.getLongParameter( request, "courseId", 0 );
while ( ( line = br.readLine() ) != null )
{
result.append(line);
}
Map<String, String> map = WXPayUtil.xmlToMap( result.toString() );