public static List<String> readWebPage(String url) 
	{
		ArrayList<String> toRet = new ArrayList<String>();
		@SuppressWarnings("resource")
		HttpClient client = new DefaultHttpClient();
		HttpGet request = new HttpGet(url);
		HttpResponse response = null;
		do 
		{
			try 
			{
				response = client.execute(request);
			} 
			catch (Exception e) 
			{
				Logger.logException(
						"Problem occured while trying to get response from http request",
						e);
				break;
			}
			InputStream in = null;
			try 
			{
				in = response.getEntity().getContent();
			} 
			catch (Exception e) 
			{
				Logger.logException(
						"Problem occured while trying to get contents from http response",
						e);
				break;
			}
			BufferedReader reader = new BufferedReader(
					new InputStreamReader(in));
			String line = null;
			try 
			{
				while ((line = reader.readLine()) != null) 
				{
					toRet.add(line.trim());
				}
			} 
			catch (IOException e) 
			{
				Logger.logException(
						"Problem occured while trying to read line from http response",
						e);
				break;
			}
			try 
			{
				in.close();
			} 
			catch (IOException e) 
			{
				Logger.logException(
						"Problem occured while trying to close the http contents stream",
						e);
				break;
			}
		} while (false);
		return toRet;
	}