String[] thePair = keyValuePairs[k].split("=");
String[] thePair = nameValuePairs[k].split("=");
	private void parseParameters(String parameters, int type)	{		//Split parameters into an array		String[] keyValuePairs = parameters.split("&");				for (int k = 0; k < keyValuePairs.length; k++)		{			//Split parameter into name and value			String[] thePair = keyValuePairs[k].split("=");						//Only store parameter if it has a value			if(thePair.length == 2)			{				try				{					//Have we encountered a parameter with this name?					if(params.containsKey(thePair[0]))					{						//key exists in hash map, add value and type to vector						Vector vecValues = (Vector)params.get(thePair[0]);						vecValues.add(new RequestParamater(thePair[1], type));						params.put(URLDecoder.decode(thePair[0], formEncoding), vecValues);					}					else					{						//not in hash map so add a vector with the initial value						Vector vecValues = new Vector();						vecValues.add(new RequestParamater(thePair[1], type));						vecValues.add(new RequestParamater((thePair.length == 2 ? thePair[1] : null), type));						params.put(URLDecoder.decode(thePair[0], formEncoding), vecValues);					}				}				catch(UnsupportedEncodingException uee)				{					//TODO: handle this properly					uee.printStackTrace();				}			}		}	}