private void postValueSetUp(Map<String, Object> valueMap, HttpPost httpPost) {
		if (valueMap != null) {
			BasicNameValuePair a = new BasicNameValuePair("", "");
			List<NameValuePair> nvps = new ArrayList<NameValuePair>();
			for (Iterator<String> iterator = valueMap.keySet().iterator(); iterator
					.hasNext();) {
				String name = iterator.next();
				Object valueObject = valueMap.get(name);
				if (valueObject == null) {
					throw new IllegalArgumentException("valueMap error : "
							+ name + " is null");
				}
				if (valueObject instanceof String) {
					nvps
							.add(new BasicNameValuePair(name,
									(String) valueObject));
				} else if (valueObject instanceof Collection) {
					Collection c = (Collection) valueObject;
					for (Iterator iterator2 = c.iterator(); iterator2.hasNext();) {
						String value = (String) iterator2.next();
						nvps.add(new BasicNameValuePair(name, value));
					}
				} else if (valueObject instanceof String[]) {
					String values[] = (String[]) valueObject;
					for (int i = 0; i < values.length; i++) {
						nvps.add(new BasicNameValuePair(name, values[i]));
					}
				} else {
					nvps
					.add(new BasicNameValuePair(name,
							 valueObject.toString()));
				}
			}
			try {
				httpPost.setEntity(new UrlEncodedFormEntity(nvps,
						this.httpPostCharset));
			} catch (UnsupportedEncodingException e) {
				this.LogException("charset error:" + this.httpPostCharset, e);
				e.printStackTrace();
			}
		}
	}