protected HashMap parseParams(String params) throws Exception {
		HashMap map = null;
		if (params == null || "".equals(params)) {
			return null;
		}
		String[] temp = params.split("&");
		if (temp.length > 0) {
			map = new HashMap();
			for (int i = 0; i < temp.length; i++) {
				String[] param = temp[i].split("=");
				String key = param[0];
				if (!"".equals(key)) {
					if (param.length == 2) {
						map.put(key, "null".equals(param[1]) ? null : param[1]);
					} else {
						map.put(key, null);
					}
				}
			}
		}

		return map;
	}