public String encodeUrl(String value) throws Exception
	{
		try
		{
			if (value != null)
			{
				return URLEncoder.encode(value.trim(), "UTF-8").replaceAll("\\+", "%20");
			}
			else
			{
				return null;
			}
		}
		catch (Exception e)
		{
			throw e;
		}
	}